blob: b114f7f2e9d04e32553520c88e9331b90523d5fc [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_bounded_array is_bounded_array]
template<class T>
struct is_bounded_array
: __tof { };
__inherit If T is a (possibly cv-qualified) array type of known bound, then
inherits from __true_type, otherwise inherits from __false_type.
__header `#include <boost/type_traits/is_bounded_array.hpp>`
[all_compilers]
__examples
[:`is_bounded_array<int[2]>` inherits from `__true_type`.]
[:`is_bounded_array<char[2][3]>::type` is the type `__true_type`.]
[:`is_bounded_array<double[2]>::value` is an integral constant expression that
evaluates to /true/.]
[:`is_bounded_array<T>::value_type` is the type `bool`.]
[endsect]