tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_bounded_array.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_BOUNDED_ARRAY_HPP
4#define TETL_TYPE_TRAITS_IS_BOUNDED_ARRAY_HPP
5
7
8namespace etl {
9
13template <typename T>
15
16template <typename T, size_t N>
17struct is_bounded_array<T[N]> : true_type { };
18
19template <typename T>
21
22} // namespace etl
23
24#endif // TETL_TYPE_TRAITS_IS_BOUNDED_ARRAY_HPP
Definition adjacent_find.hpp:8
constexpr bool is_bounded_array_v
Definition is_bounded_array.hpp:20
bool_constant< true > true_type
Definition bool_constant.hpp:13
bool_constant< false > false_type
Definition bool_constant.hpp:14
static constexpr bool value
Definition integral_constant.hpp:10
Checks whether T is an array type of known bound. Provides the member constant value which is equal t...
Definition is_bounded_array.hpp:14