template <class InputIterator, class UnaryPredicate> bool none_of (InputIterator first, InputIterator last, UnaryPredicate pred);
[first,last) 中的所有元素 pred 都返回 false,或者范围为空,则返回 true,否则返回 false。 |
|
[first,last),它包含 first 和 last 之间的所有元素,包括 first 指向的元素,但不包括 last 指向的元素。bool 的值。返回值表示该元素是否满足此函数检查的条件。[first,last) 中的所有元素 pred 都返回 false,或者范围为空,则返回 true,否则返回 false。 |
|
There are no negative elements in the range. |
[first,last) 中的一些(或全部)对象被访问(最多一次)。