Functions such as std::find_if
from the algorithm
header are really useful, but 1 serious limit for me is the fact that I can only use 1 predicate for each call to count_if
.
For example given a container like an std::vector
I would like to apply, at the same time, with the same iteration of find_if
, multiple predicates; there is something in the standard library that makes this possible while keeping this functional approach ?