aboutsummaryrefslogtreecommitdiff
path: root/src/list/operation/delete.h
blob: 48f1137b3a428e34fd978ec1515e1bdea54a7d7d (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_H_
#define TYPEASVALUE_SRC_LIST_OPERATION_DELETE_H_

#include "type.h"
#include "higher/filter.h"
#include "function/apply.h"

namespace tav {

template <
	typename Element,
	typename List
>
using Delete = Remove<
	Apply<IsEqualValue, _0, Element>::template function,
	List
>;

}

#endif  // TYPEASVALUE_SRC_LIST_OPERATION_DELETE_H_