cpp/algorithm/all any none of

@1@ Checks if unary predicate returns  for all elements in the range.

@3@ Checks if unary predicate returns  for at least one element in the range.

@5@ Checks if unary predicate returns  for no elements in the range. @2,4,6@ Same as, but executed according to.

Return value
@1-2@ if unary predicate returns  for all elements in the range,  otherwise. Returns if the range is empty.

@3-4@ if unary predicate returns  for at least one element in the range,  otherwise. Returns if the range is empty.

@5-6@ if unary predicate returns  for no elements in the range,  otherwise. Returns if the range is empty.

See also Notes below.

Complexity
@1,3,5@ At most -  applications of the predicate @2,4,6@ applications of the predicate

Possible implementation
See also the implementations of
 * in libstdc++ and libc++.
 * in libstdc++ and libc++.
 * in libstdc++ and libc++.