tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
index_constant.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_INDEX_CONSTANT_HPP
4#define TETL_TYPE_TRAITS_INDEX_CONSTANT_HPP
5
8
9namespace etl {
10
11template <size_t I>
13
14template <size_t I>
15inline constexpr auto index_v = index_constant<I>{};
16
17} // namespace etl
18
19#endif // TETL_TYPE_TRAITS_INDEX_CONSTANT_HPP
Definition adjacent_find.hpp:8
integral_constant< size_t, I > index_constant
Definition index_constant.hpp:12
constexpr auto index_v
Definition index_constant.hpp:15
Definition integral_constant.hpp:9