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));
|
using type = decltype(check<_Tp, _Up>(0));
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
using is_swappable = std::is_swappable;
|
template<typename Tp>
|
||||||
using is_swappable_with = std::is_swappable_with;
|
using is_swappable = std::is_swappable<Tp>;
|
||||||
|
template<typename T, typename U>
|
||||||
|
using is_swappable_with = std::is_swappable_with<T, U>;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// != std:: on CommonReference
|
// != std:: on CommonReference
|
||||||
|
Loading…
x
Reference in New Issue
Block a user