My Project
is_copyable.hpp
Go to the documentation of this file.
1 
28 #ifndef BSL_IS_COPY_HPP
29 #define BSL_IS_COPY_HPP
30 
31 #include "bool_constant.hpp"
32 #include "is_copy_assignable.hpp"
34 
35 namespace bsl
36 {
48  template<typename T>
49  class is_copyable final :
50  public bool_constant<is_copy_assignable<T>::value && is_copy_constructible<T>::value>
51  {};
52 }
53 
54 #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 is copy assignable and constructible, provides the member constant value equal t...
Definition: is_copyable.hpp:49