tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
push_back.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_PUSH_BACK_HPP
5
#
define
TETL_MPL_PUSH_BACK_HPP
6
7
#
include
<
etl
/
_mpl
/
list
.
hpp
>
8
9
namespace
etl
::
mpl
{
10
11
/// \ingroup mpl
12
template
<
typename
T,
typename
List>
13
struct
push_back;
14
15
/// \ingroup mpl
16
template
<
typename
T,
typename
... Ts>
17
struct
push_back<T,
list
<Ts...>> {
18
using
type =
list
<Ts..., T>;
19
};
20
21
/// \ingroup mpl
22
template
<
typename
T,
typename
List>
23
using
push_back_t =
typename
push_back<T, List>::type;
24
25
}
// namespace etl::mpl
26
27
#
endif
// TETL_MPL_PUSH_BACK_HPP
etl::mpl
Definition
at.hpp:10
etl
Definition
adjacent_find.hpp:9
etl::mpl::list
Definition
list.hpp:11
include
etl
_mpl
push_back.hpp
Generated on Sun Sep 7 2025 19:15:15 for tetl by
1.9.8