VCCC  2024.05
VisualCamp Common C++ library
is_unbounded_array.hpp
Go to the documentation of this file.
1 //
2 // Created by yonggyulee on 2023/09/29.
3 //
4 
5 #ifndef VCCC_TYPE_TRAITS_IS_UNBOUNDED_ARRAY_HPP
6 #define VCCC_TYPE_TRAITS_IS_UNBOUNDED_ARRAY_HPP
7 
8 #include <cstddef>
9 #include <type_traits>
10 
11 namespace vccc {
12 
17 
18 template<class T>
19 struct is_unbounded_array: std::false_type {};
20 
21 template<class T>
22 struct is_unbounded_array<T[]> : std::true_type {};
23 
26 
27 } // namespace vccc
28 
29 #endif // VCCC_TYPE_TRAITS_IS_UNBOUNDED_ARRAY_HPP
Definition: directory.h:12
Definition: is_unbounded_array.hpp:19