Browse Source

No longer needed function removed.

main
offa 6 years ago
parent
commit
38f1fca137
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      include/unique_resource.h

+ 0
- 9
include/unique_resource.h View File

@@ -38,15 +38,6 @@ namespace sr
template<class T, class TT>
constexpr auto is_nothrow_move_or_copy_constructible_from_v = is_ntmocp_constructible<T, TT>::value;



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


}



Loading…
Cancel
Save