blob: ad0a4cfee757fe250c15dc862cdebd644bcf915b (
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
|
#ifndef TYPEASVALUE_SRC_LIST_OPERATION_DELETE_H_
#define TYPEASVALUE_SRC_LIST_OPERATION_DELETE_H_
#include "type.h"
#include "higher/filter.h"
namespace tav {
template <
typename Element,
typename List
>
class Delete {
private:
template <typename Current>
using comparator = EqualValue<Current, Element>;
public:
typedef typename Remove<comparator, List>::type type;
};
}
#endif // TYPEASVALUE_SRC_LIST_OPERATION_DELETE_H_
|