1 #ifndef INCLUDED_TYPE_TRAITS_DOT_H 2 #define INCLUDED_TYPE_TRAITS_DOT_H 6 #if __cpp_lib_is_swappable < 201603 13 static auto test(
int) -> std::integral_constant<
15 noexcept(swap(std::declval<T&>(), std::declval<T&>()))>;
18 static std::false_type test(...);
see https://en.cppreference.com/w/cpp/feature_test for recommended feature tests