aboutsummaryrefslogtreecommitdiff
path: root/src/list/operation/take.h
blob: f9aa4b09f5b4537350ee912f29602a6d3560afff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef TYPEASVALUE_SRC_LIST_OPERATION_TAKE_H_
#define TYPEASVALUE_SRC_LIST_OPERATION_TAKE_H_

#include "section.h"

namespace tav {

template <
	typename Count,
	typename List
>
using Take = Section<
	Size<0>,
	Substract<Count, Size<1>>,
	List
>;

}

#endif  // TYPEASVALUE_SRC_LIST_OPERATION_TAKE_H_