Parameters

The signature of the predicate function should be equivalent to the following:

bool pred(const Type &a);

The signature does not need to have const&, but the function must not modify the objects passed to it.
The type Type must be such that an object of type InputIt can be dereferenced and then implicitly converted to Type.
​

q

-

unary predicate which returns ​false for the required element.

The signature of the predicate function should be equivalent to the following:

bool pred(const Type &a);

The signature does not need to have const&, but the function must not modify the objects passed to it.
The type Type must be such that an object of type InputIt can be dereferenced and then implicitly converted to Type.
​