capydi
Loading...
Searching...
No Matches
Append.hpp
Go to the documentation of this file.
1#ifndef APPEND_HPP_
2#define APPEND_HPP_
3
5
7{
8
9template<typename Element, typename Pack>
10struct Append;
11
12template<typename Element, typename... PackElements>
13struct Append<Element, Pack<PackElements...>>
14{
15 using type = Pack<PackElements..., Element>;
16};
17
18template<typename Element, typename Pack>
20
21}
22
23#endif // !APPEND_HPP_
Compile-time type pack utilities and metaprogramming foundations.
Definition Append.hpp:7
typename Append< Element, Pack >::type append_t
Definition Append.hpp:19
A compile-time heterogeneous type list.
Definition Pack.hpp:70
Pack< PackElements..., Element > type
Definition Append.hpp:15
Definition Append.hpp:10