My Project
is_swappable.hpp
Go to the documentation of this file.
1 
28 #ifndef BSL_IS_SWAPPABLE_HPP
29 #define BSL_IS_SWAPPABLE_HPP
30 
31 #include "bool_constant.hpp"
32 #include "add_lvalue_reference.hpp"
33 #include "is_swappable_with.hpp"
34 
35 namespace bsl
36 {
48  template<typename T>
49  class is_swappable final :
50  public bool_constant<
51  is_swappable_with<add_lvalue_reference_t<T>, add_lvalue_reference_t<T>>::value>
52  {};
53 }
54 
55 #endif
If the provided type is an array type (taking into account const qualifications), provides the member...
Definition: integral_constant.hpp:45
If the provided type T is swappable, provides the member constant value equal to true....
Definition: is_swappable.hpp:49