tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
index_sequence.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
// SPDX-FileCopyrightText: Copyright (C) 2019 Tobias Hienzsch
3
4
#
ifndef
TETL_UTILITY_INDEX_SEQUENCE_HPP
5
#
define
TETL_UTILITY_INDEX_SEQUENCE_HPP
6
7
#
include
<
etl
/
_cstddef
/
size_t
.
hpp
>
8
#
include
<
etl
/
_utility
/
integer_sequence
.
hpp
>
9
10
namespace
etl
{
11
12
template
<
etl
::size_t... Ints>
13
using
index_sequence =
etl
::
integer_sequence
<
etl
::size_t, Ints...>;
14
15
template
<
etl
::size_t Size>
16
using
make_index_sequence =
etl
::make_integer_sequence<
etl
::size_t, Size>;
17
18
template
<
typename
... T>
19
using
index_sequence_for =
etl
::make_index_sequence<
sizeof
...(T)>;
20
21
}
// namespace etl
22
23
#
endif
// TETL_UTILITY_INDEX_SEQUENCE_HPP
etl
Definition
adjacent_find.hpp:9
etl::integer_sequence
Definition
integer_sequence.hpp:15
include
etl
_utility
index_sequence.hpp
Generated on Sun Sep 7 2025 19:15:18 for tetl by
1.9.8