|
template<typename I , typename S , typename F , typename P = identity> |
auto | ranges::for_each (I first, S last, F fun, P proj=P{}) -> for_each_result< I, F > requires input_iterator< I > &&sentinel_for< S, I > &&indirectly_unary_invocable< F, projected< I, P >> |
| function template for_each
|
|
template<typename Rng , typename F , typename P = identity> |
auto | ranges::for_each (Rng &&rng, F fun, P proj=P{}) -> for_each_result< safe_iterator_t< Rng >, F > requires input_range< Rng > &&indirectly_unary_invocable< F, projected< iterator_t< Rng >, P >> |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|