blob: aeb0c2aacf78b33732ad1346b4959785468624b0 (
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 "utility/predicate.h"
#include "function/apply.h"
#include "list/operation/nth.h"
#include "list_index.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_
|