Template Struct is_swappable
Defined in File tl-optional.hpp
Inheritance Relationships
Base Type
public std::integral_constant< bool, decltype(detail::swap_adl_tests::can_swap< T, T >(0))::value &&(!decltype(detail::swap_adl_tests::uses_std< T, T >(0))::value||(std::is_move_assignable< T >::value &&std::is_move_constructible< T >::value))>
Struct Documentation
- template<class T, class U = T> tl::detail::is_swappable : public std::integral_constant< bool, decltype(detail::swap_adl_tests::can_swap< T, T >(0))::value &&(!decltype(detail::swap_adl_tests::uses_std< T, T >(0))::value||(std::is_move_assignable< T >::value &&std::is_move_constructible< T >::value))>