Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.


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.


is_unbounded_array<int[]> inherits from true_type.

is_unbounded_array<char[][3]>::type is the type true_type.

is_unbounded_array<double[]>::value is an integral constant expression that evaluates to true.

is_unbounded_array<T>::value_type is the type bool.