| coveo::linq
    Implementation of .NET-like LINQ operators in C++ | 
Checks if all elements in a sequence satisfy a predicate. More...
| Functions | |
| template<typename Pred > | |
| auto | coveo::linq::all (const Pred &pred) -> detail::all_impl< Pred > | 
| Checks elements in a sequence against a predicate.  More... | |
The all operator scans a sequence and validates that all its elements satisfy a given predicate.
This is a terminal operator.
.NET equivalent: All
| auto coveo::linq::all | ( | const Pred & | pred | ) | -> detail::all_impl<Pred> | 
Scans a sequence and calls a predicate with each element. The predicate must return true if the element satisfies the predicate. The final result will indicate if all elements satisfy the predicate.
Works on empty sequences (returns true in such a case).
Use like this:
| pred | Predicate to satisfy. | 
true if all elements in sequence satisfy pred.  1.8.15
 1.8.15