This class builds the base for wrapping around nearly every possible predicates like functors, classes with operator() and so on.
More...
List of all members.
Detailed Description
template<typename T>
class WPredicateHelper::ArbitraryPredicateBase< T >
This class builds the base for wrapping around nearly every possible predicates like functors, classes with operator() and so on.
It is especially useful to have an base class allowing predicate evaluation without knowing the exact predicate type. In multi-threaded environments, command queues are a common way to add/remove/replace items in a list. With this base class it is possible to provide predicates in such queues. The direct use of this class for std algorithms (find_if, remove_if, count_if, ... ) is not recommended as it simply is not needed.
- Template Parameters:
-
| the | type to evaluate the predicate for. Usually, this is the type of list elements. |
Definition at line 152 of file WPredicateHelper.h.
Constructor & Destructor Documentation
Member Function Documentation
The documentation for this class was generated from the following file: