tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
tail.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
// SPDX-FileCopyrightText: Copyright (C) 2024 Tobias Hienzsch
3
4
#
ifndef
TETL_MPL_TAIL_HPP
5
#
define
TETL_MPL_TAIL_HPP
6
7
#
include
<
etl
/
_mpl
/
list
.
hpp
>
8
9
namespace
etl
::
mpl
{
10
11
/// \ingroup mpl
12
/// @{
13
14
template
<
typename
... Ts>
15
struct
tail;
16
17
template
<
typename
Head,
typename
... Tail>
18
struct
tail<
list
<Head, Tail...>> {
19
using
type =
list
<Tail...>;
20
};
21
22
template
<
typename
List>
23
using
tail_t =
typename
tail<List>::type;
24
25
/// @}
26
27
}
// namespace etl::mpl
28
29
#
endif
// TETL_MPL_TAIL_HPP
etl::mpl
Definition
at.hpp:10
etl
Definition
adjacent_find.hpp:9
etl::mpl::list
Definition
list.hpp:11
include
etl
_mpl
tail.hpp
Generated on Sat Sep 20 2025 23:50:56 for tetl by
1.9.8