Boost C++ Libraries

...one 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 a snapshot of the master branch, built from commit 01b856e70e.
PrevUpHomeNext

is_unbounded_array

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 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.


PrevUpHomeNext