Browse Source

FIX: C++17 is_swappable import from stl

doc
parent
commit
325ac9a5b2
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      include/utl/concepts/stl.h

+ 4
- 2
include/utl/concepts/stl.h View File

@@ -404,8 +404,10 @@ namespace utl {
using type = decltype(check<_Tp, _Up>(0));
};
#else
using is_swappable = std::is_swappable;
using is_swappable_with = std::is_swappable_with;
template<typename Tp>
using is_swappable = std::is_swappable<Tp>;
template<typename T, typename U>
using is_swappable_with = std::is_swappable_with<T, U>;
#endif
// != std:: on CommonReference


Loading…
Cancel
Save