My Project
is_bool.hpp
Go to the documentation of this file.
1 
28 #ifndef BSL_IS_BOOL_HPP
29 #define BSL_IS_BOOL_HPP
30 
31 #include "true_type.hpp"
32 #include "false_type.hpp"
33 
34 namespace bsl
35 {
47  template<typename T>
48  class is_bool final : public false_type
49  {};
50 
52 
53  template<>
54  class is_bool<bool> final : public true_type
55  {};
56 
57  template<>
58  class is_bool<bool const> final : public true_type
59  {};
60 
62 }
63 
64 #endif
If the provided type is a bool type (taking into account const qualifications), provides the member c...
Definition: is_bool.hpp:48
If the provided type is an array type (taking into account const qualifications), provides the member...
Definition: integral_constant.hpp:45