...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
template<class T>
struct is_unbounded_array
: true_type-or-false_type
{ };
Inherits: If T is a (possibly cv-qualified) array type of unknown bound, then inherits from true_type, otherwise inherits from false_type.
Header: #include
<boost/type_traits/is_unbounded_array.hpp>
Compiler Compatibility: All current compilers are supported by this trait.
Examples:
is_unbounded_array<int[]>
inherits fromtrue_type
.
is_unbounded_array<char[][3]>::type
is the typetrue_type
.
is_unbounded_array<double[]>::value
is an integral constant expression that evaluates to true.
is_unbounded_array<T>::value_type
is the typebool
.