blob: 9e1be79ab578f008e12a8f0b5e870c3370c50c4b (
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
|
#ifndef TYPEASVALUE_SRC_LIST_OPERATION_APPEND_H_
#define TYPEASVALUE_SRC_LIST_OPERATION_APPEND_H_
namespace tav {
template <
typename Primary,
typename Secondary
>
struct Append {
typedef Cons<
Head<Primary>,
typename Append<
Tail<Primary>,
Secondary
>::type
> type;
};
template <typename Secondary>
struct Append<void, Secondary> {
typedef Secondary type;
};
}
#endif // TYPEASVALUE_SRC_LIST_OPERATION_APPEND_H_
|