cpp/algorithm/ranges/for each n

@1@ Applies the given function object to the projected result by  of dereferencing each iterator in the range, in order.

If the iterator type is mutable, may modify the elements of the range through the dereferenced iterator. If returns a result, the result is ignored. If is less than zero, the behavior is undefined.

Return value
An object, where may be evaluated as  depending on iterator category.

Complexity
Exactly applications of  and.