浏览代码

Trait implementation simplified.

main
offa 6 年前
父节点
当前提交
993bc8f593
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. +1
    -3
      include/detail/scope_guard_base.h

+ 1
- 3
include/detail/scope_guard_base.h 查看文件





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;



正在加载...
取消
保存