cpp/algorithm/ranges/all any none of

@1@ Checks if unary predicate returns  for all elements in the range  (after projecting with the projection ).

@3@ Checks if unary predicate returns  for at least one element in the range  (after projecting with the projection ).

@5@ Checks if unary predicate returns  for no elements in the range  (after projecting with the projection ).

@2,4,6@ Same as, but uses as the source range, as if using  as  and  as.

Return value
@1-2@ if  for every iterator  in the range,  otherwise. Returns if the range is empty.

@3-4@ if  for at least one iterator  in the range,  otherwise. Returns if the range is empty.

@5-6@ if  for every iterator  in the range,  otherwise. Returns if the range is empty.

See also Notes below.

Complexity
At most applications of the predicate and the projection.