tinympl  0.2
mini MPL library for C++11
tinympl::variadic::find_if< F, Args > Class Template Reference

Detailed Description

template<template< class...T > class F, class... Args>
class tinympl::variadic::find_if< F, Args >

index of a the first element in the sequence which satisfies a given predicate

Parameters
FThe test predicate - F<T>::type::value shall be convertible to bool
Args...the input sequence
Returns
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.
See also
tinympl::find_if

The documentation for this class was generated from the following file: