tinympl  0.2
mini MPL library for C++11
tinympl::any_of< Sequence, F > Class Template Reference

Determines whether any of the elements in the sequence satisfy the given predicate. More...

#include <tinympl/any_of.hpp>

Detailed Description

template<class Sequence, template< class...> class F>
class tinympl::any_of< Sequence, F >

Determines whether any of the elements in the sequence satisfy the given predicate.

Parameters
Sequencethe input sequence
Fthe predicate, F<T>::type::value must be convertible to bool
Returns
any_of<...>::type is a std::integral_constant<bool,v> where v is true iff at least one element in the sequence satisfy the predicate F
See also
variadic::any_of

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