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
3#ifndef TETL_META_PUSH_FRONT_HPP
4#define TETL_META_PUSH_FRONT_HPP
5
6#include <etl/_meta/list.hpp>
7
8namespace etl::meta {
9
10template <typename T, typename List>
12
13template <typename T, typename... Ts>
14struct push_front<T, list<Ts...>> {
15 using type = list<T, Ts...>;
16};
17
18template <typename T, typename List>
20
21} // namespace etl::meta
22
23#endif // TETL_META_PUSH_FRONT_HPP
Definition at.hpp:9
typename push_front< T, List >::type push_front_t
Definition push_front.hpp:19
Definition list.hpp:10
list< T, Ts... > type
Definition push_front.hpp:15
Definition push_front.hpp:11