소스 검색

Noexcept added.

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

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

@@ -48,7 +48,7 @@ namespace sr


template<class T, class U = std::conditional_t<std::is_nothrow_move_constructible<T>::value, T&&, const T&>>
constexpr U forward_if_nothrow_move_constructible(T&& value)
constexpr U forward_if_nothrow_move_constructible(T&& value) noexcept
{
return std::forward<T>(value);
}

Loading…
취소
저장