blob: 21eb1ee4502c2bfc932008e7991abff183484cb0 (
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_CONCATENATE_H_
#define TYPEASVALUE_SRC_LIST_OPERATION_CONCATENATE_H_
namespace tav {
template <
typename Primary,
typename Secondary
>
struct Concatenate {
typedef Cons<
Head<Primary>,
typename Concatenate<
Tail<Primary>,
Secondary
>::type
> type;
};
template <typename Secondary>
struct Concatenate<void, Secondary> {
typedef Secondary type;
};
}
#endif // TYPEASVALUE_SRC_LIST_OPERATION_CONCATENATE_H_
|