@@ -42,7 +42,6 @@ namespace sr | |||
int m_uncaught_on_creation = uncaught_exceptions(); | |||
}; | |||
@@ -62,6 +61,7 @@ namespace sr | |||
using detail::scope_guard_base<EF, detail::scope_fail_strategy>::scope_guard_base; | |||
private: | |||
}; |
@@ -30,7 +30,8 @@ namespace sr | |||
namespace detail | |||
{ | |||
template<class T, class TT> | |||
using is_ntmocp_constructible = std::conditional_t<std::is_reference<TT>::value || !std::is_nothrow_move_constructible<TT>::value, | |||
using is_ntmocp_constructible = std::conditional_t<std::is_reference<TT>::value | |||
|| !std::is_nothrow_move_constructible<TT>::value, | |||
typename std::is_constructible<T, const TT&>::type, | |||
typename std::is_constructible<T, TT>::type>; | |||