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