blob: e7ee9f2017e6704b2cc1e0d256743c5893598057 (
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
|
#ifndef TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_FIND_H_
#define TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_FIND_H_
#include "list/list.h"
#include "list_index.h"
#include "utility/predicate.h"
#include "function/apply.h"
namespace tav {
template <
template<typename> class Predicate,
typename List
>
using Find = typename utility::predicate_guard<
IsSize,
Apply<Nth, _0, List>::template function,
Boolean<false>
>::template check<
ListIndex<Predicate, List>
>;
}
#endif // TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_FIND_H_
|