blob: 2dcd18498200b9dd56015e6414f707d44c8aded9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef TYPEASVALUE_SRC_LIST_OPERATION_APPEND_H_
#define TYPEASVALUE_SRC_LIST_OPERATION_APPEND_H_
namespace tav {
namespace detail {
template <
typename Primary,
typename Secondary
>
struct Append {
typedef Cons<
Head<Primary>,
Eval<Append<
Tail<Primary>,
Secondary
>>
> type;
};
template <typename Secondary>
struct Append<void, Secondary> {
typedef Secondary type;
};
}
template <
typename Primary,
typename Secondary
>
using Append = Eval<detail::Append<Primary, Secondary>>;
}
#endif // TYPEASVALUE_SRC_LIST_OPERATION_APPEND_H_
|