Browse Source

Trait implementation simplified.

main
offa 5 years ago
parent
commit
993bc8f593
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      include/detail/scope_guard_base.h

+ 1
- 3
include/detail/scope_guard_base.h View File





template<class F, class S> template<class F, class S>
struct is_noexcept_dtor
struct is_noexcept_dtor : public std::true_type
{ {
static inline constexpr bool value = true;
}; };



template<class F, class S> template<class F, class S>
inline 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;



Loading…
Cancel
Save