Browse Source

Implementation of the remove_cvref Trait (P0550R2) added (#106).

main
offa 7 years ago
parent
commit
1395f533c0
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      include/detail/scope_guard_base.h

+ 8
- 0
include/detail/scope_guard_base.h View File



namespace sr::detail namespace sr::detail
{ {
// From P0550
template<class T>
using remove_cvref = std::remove_cv_t<std::remove_reference_t<T>>;

template<class T>
using remove_cvref_t = typename remove_cvref<T>::type;




template<class F, class S> template<class F, class S>
struct is_noexcept_dtor struct is_noexcept_dtor

Loading…
Cancel
Save