blob: fc56fe6f40d5d853a1144e3fb6bfa1fc8be0dd69 [file] [log] [blame]
[/
Copyright 2018 Glen Joseph Fernandes
(glenjofe@gmail.com)
Distributed under the Boost Software License,
Version 1.0. (See accompanying file LICENSE_1_0.txt
or copy at http://www.boost.org/LICENSE_1_0.txt).
]
[section:is_unbounded_array is_unbounded_array]
template<class T>
struct is_unbounded_array
: __tof { };
__inherit 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>`
[all_compilers]
__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`.]
[endsect]