A simple case-insensitive predicate. Integrate this predicate with algorithms like std::find_if to make use of it.
#include <utility/YiStringUtilities.h>
Public Member Functions | |
| CYICaseInsensitiveEqualsPredicate (const CYIString *const pSource) | |
| bool | operator() (const CYIString &other) const |
| CYICaseInsensitiveEqualsPredicate::CYICaseInsensitiveEqualsPredicate | ( | const CYIString *const | pSource | ) |
The source string must not be null, and not go out of scope during the lifetime of this object.
| bool CYICaseInsensitiveEqualsPredicate::operator() | ( | const CYIString & | other | ) | const |