|
template<typename T , class Predicate > |
bool | all_of (const Dtk_tab< T > &tab, Predicate Pred) |
| Test condition on all elements in range, and returns true if pred returns true for all the elements in the range [first,last] or if the range is empty, and false otherwise. More...
|
|
template<class InputIterator , class Predicate > |
bool | all_of (InputIterator first, InputIterator last, Predicate Pred) |
| Test condition on all elements in range, and returns true if pred returns true for all the elements in the range [first,last] or if the range is empty, and false otherwise. More...
|
|
template<typename T , class Predicate > |
bool | any_of (const Dtk_tab< T > &tab, Predicate Pred) |
| Test if any element in range fulfills condition, returns true if pred returns true for any of the elements in the range [first,last], and false otherwise or if the range is empty. More...
|
|
template<class InputIterator , class Predicate > |
bool | any_of (InputIterator first, InputIterator last, Predicate Pred) |
| Test if any element in range fulfills condition, returns true if pred returns true for any of the elements in the range [first,last], and false otherwise or if the range is empty. More...
|
|
template<typename T , class Predicate > |
bool | none_of (const Dtk_tab< T > &tab, Predicate Pred) |
| Test if no elements fulfill condition, returns true if pred returns false for all the elements in the range [first,last] or if the range is empty, and false otherwise. More...
|
|
template<class InputIterator , class Predicate > |
bool | none_of (InputIterator first, InputIterator last, Predicate Pred) |
| Test if no elements fulfill condition, returns true if pred returns false for all the elements in the range [first,last] or if the range is empty, and false otherwise. More...
|
|
template<class InputIterator , class Predicate >
bool dtk::all_of |
( |
InputIterator |
first, |
|
|
InputIterator |
last, |
|
|
Predicate |
Pred |
|
) |
| |
Test condition on all elements in range, and returns true if pred returns true for all the elements in the range [first,last] or if the range is empty, and false otherwise.
- Parameters
-
first | Input iterator to the initial position in a sequence |
last | Input iterator to the final position in a sequence |
Pred | Unary function that accepts an element in the range as argument and returns a value convertible to bool. |
991 for (; first != last; ++first)
template<class InputIterator , class Predicate >
bool dtk::any_of |
( |
InputIterator |
first, |
|
|
InputIterator |
last, |
|
|
Predicate |
Pred |
|
) |
| |
Test if any element in range fulfills condition, returns true if pred returns true for any of the elements in the range [first,last], and false otherwise or if the range is empty.
- Parameters
-
first | Input iterator to the initial position in a sequence |
last | Input iterator to the final position in a sequence |
Pred | Unary function that accepts an element in the range as argument and returns a value convertible to bool. |
1020 for(; first != last; ++first)
template<class InputIterator , class Predicate >
bool dtk::none_of |
( |
InputIterator |
first, |
|
|
InputIterator |
last, |
|
|
Predicate |
Pred |
|
) |
| |
Test if no elements fulfill condition, returns true if pred returns false for all the elements in the range [first,last] or if the range is empty, and false otherwise.
- Parameters
-
first | Input iterator to the initial position in a sequence |
last | Input iterator to the final position in a sequence |
Pred | Unary function that accepts an element in the range as argument and returns a value convertible to bool. |
1049 for (; first != last; ++first)