Function object (Unary Predicate functor) that stores one string. More...
#include <nxsstring.h>
Public Member Functions | |
NStrCaseInsensitiveEquals (const NxsString &s) | |
bool | operator() (const NxsString &s) |
Function object (Unary Predicate functor) that stores one string.
The ()(const NxsString &) operator then returns the result of a case-insensitive compare. Useful for STL find algorithms. Could be made faster than sequential case insenstive comparisons, because the string stored in the object is just capitalized once.
Definition at line 221 of file nxsstring.h.