1 #ifndef DASH__ALGORITHM__ANY_OF_H__ 2 #define DASH__ALGORITHM__ANY_OF_H__ 4 #include <dash/iterator/GlobIter.h> 5 #include <dash/algorithm/Find.h> 22 typename UnaryPredicate >
31 return find_if(first, last, p) != last;
36 #endif // DASH__ALGORITHM__ANY_OF_H__ This class is a simple memory pool which holds allocates elements of size ValueType.
GlobIter find_if(GlobIter first, GlobIter last, UnaryPredicate predicate)
Returns an iterator to the first element in the range [first,last) that satisfies the predicate p...
Iterator on Partitioned Global Address Space.
bool any_of(GlobIter first, GlobIter last, UnaryPredicate p)
Check whether any element in the range satisfies predicate p.