12345678910111213141516171819202122232425262728293031323334 |
- [/
- 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]
|