#include <algorithms.h>
A matcher that finds the first element equal to a value based on a custom comparison function.
Public Member Functions | |
ValueComparePredicate (const ValueComparePredicate &)=default | |
ValueComparePredicate & | operator= (const ValueComparePredicate &)=default |
ValueComparePredicate (const T &valueIn, const COMPARE &compIn) | |
template<typename U > | |
Bool | operator() (const U &other) const |
Public Attributes | |
const T & | value |
const COMPARE & | comp |
|
default |
ValueComparePredicate | ( | const T & | valueIn, |
const COMPARE & | compIn | ||
) |
|
default |
Bool operator() | ( | const U & | other | ) | const |
const T& value |
const COMPARE& comp |