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