FIX: C++17 is_swappable import from stl

This commit is contained in:
Christos Choutouridis 2020-09-27 20:26:48 +03:00
parent f748e9b725
commit 325ac9a5b2

View File

@ -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