tinympl
0.2
mini MPL library for C++11
|
index of a the first element in the sequence which satisfies a given predicate
F | The test predicate - F<T>::type::value shall be convertible to bool |
Args... | the input sequence |
find_if<...>::type
is std::integral_constant<std::size_t,v>
where v
is the 0-based index of the first element which satisfy F
. If no such element exists, v
is size<Sequence>::value
.