FIX: C++17 is_swappable import from stl
This commit is contained in:
parent
f748e9b725
commit
325ac9a5b2
@ -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…
x
Reference in New Issue
Block a user