blob: 03df12ac1941642ef1ce58453db1562c225c33a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef TYPEASVALUE_SRC_LIST_OPERATION_DELETE_NTH_H_
#define TYPEASVALUE_SRC_LIST_OPERATION_DELETE_NTH_H_
#include "list/operation/append.h"
#include "list/operation/take.h"
#include "list/operation/drop.h"
namespace tav {
template <
typename Index,
typename List
>
using DeleteNth = Append<
typename Take<Index, List>::type,
typename Drop<Add<Index, Size<1>>, List>::type
>;
}
#endif // TYPEASVALUE_SRC_LIST_OPERATION_DELETE_NTH_H_
|