소스 검색

Formatting unified.

main
offa 7 년 전
부모
커밋
23dd400d91
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      include/unique_resource.h

+ 2
- 2
include/unique_resource.h 파일 보기

@@ -28,7 +28,7 @@ namespace sr

template<class T, class TT>
using is_ntmocp_constructible = std::conditional_t<std::is_reference<TT>::value || !std::is_nothrow_move_constructible<TT>::value,
typename std::is_constructible<T, TT const &>::type,
typename std::is_constructible<T, const TT&>::type,
typename std::is_constructible<T, TT>::type>;

template<class T, class TT>
@@ -38,7 +38,7 @@ namespace sr
template<class T,
class U = std::conditional_t<(!std::is_nothrow_move_assignable<T>::value
&& std::is_copy_assignable<T>::value),
T const &,
const T&,
T &&>>
constexpr U move_assign_if_noexcept(T& value) noexcept
{

Loading…
취소
저장