Predicate that compares an element with a stored value.
More...
#include <avutils.h>
|
| | EqualComparator (const T &value) |
| | Remember the value to compare against.
|
| bool | operator() (const T &value) const |
| | Compare an element with the stored value.
|
|
|
const T & | value |
| | The value that terminates the list.
|
template<typename T>
struct av::EqualComparator< T >
Used as the "end of list" marker by the pointer overload of guessValue().
◆ EqualComparator()
- Parameters
-
| value | the value that ends the list |
◆ operator()()
- Parameters
-
- Returns
- true when the element equals the stored value
The documentation for this struct was generated from the following file: