@@ -37,12 +37,12 @@ namespace sr::detail | |||
template<class F, class S> | |||
struct is_noexcept_dtor | |||
{ | |||
static constexpr bool value = true; | |||
static inline constexpr bool value = true; | |||
}; | |||
template<class F, class S> | |||
constexpr bool is_noexcept_dtor_v = is_noexcept_dtor<F, S>::value; | |||
inline constexpr bool is_noexcept_dtor_v = is_noexcept_dtor<F, S>::value; | |||
template<class T> | |||
constexpr decltype(auto) forward_if_nothrow_move_constructible(T&& arg) |
@@ -43,7 +43,7 @@ namespace sr | |||
template<class F> | |||
struct is_noexcept_dtor<F, scope_success_strategy> | |||
{ | |||
static constexpr bool value = noexcept(std::declval<F>()()); | |||
static inline constexpr bool value = noexcept(std::declval<F>()()); | |||
}; | |||
} |