capydi
Loading...
Searching...
No Matches
PopHead.hpp
Go to the documentation of this file.
1#ifndef CAPYDI_POP_HEAD_HPP_
2#define CAPYDI_POP_HEAD_HPP_
3
5
6namespace capy::meta
7{
8
9template<typename Pack_>
11{
12 using type = Pack_;
13};
14
15template<typename Head, typename... Tail>
17 Pack<Head, Tail...>
18>
19{
20 using type = Pack<Tail...>;
21};
22
23template<typename Pack_>
25
26}
27
28#endif // !CAPYDI_POP_HEAD_HPP_
Compile-time type pack utilities and metaprogramming foundations.
Definition Rebind.hpp:7
typename PackPopHead< Pack_ >::type pack_pop_head_t
Definition PopHead.hpp:24
Pack< Tail... > type
Definition PopHead.hpp:20
Definition PopHead.hpp:11
Pack_ type
Definition PopHead.hpp:12
A compile-time heterogeneous type list.
Definition Pack.hpp:70