My Project
is_array.hpp
Go to the documentation of this file.
1 
28 #ifndef BSL_IS_ARRAY_HPP
29 #define BSL_IS_ARRAY_HPP
30 
31 #include "cstdint.hpp"
32 #include "true_type.hpp"
33 #include "false_type.hpp"
34 
35 namespace bsl
36 {
48  template<typename T>
49  class is_array final : public false_type
50  {};
51 
53 
54  template<typename T>
55  class is_array<T[]> final : public true_type // NOLINT
56  {};
57 
58  template<typename T, bsl::uintmax N>
59  class is_array<T[N]> final : public true_type // NOLINT
60  {};
61 
63 }
64 
65 #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 an array type (taking into account const qualifications), provides the member...
Definition: is_array.hpp:49