|
Wire Sysio Wire Sysion 1.0.0
|
Helper functor for case insensitive find. More...
#include <utilities.hpp>
Public Member Functions | |
| my_equal (std::locale const &loc) | |
| Construct the functor with the given locale. | |
| bool | operator() (charT ch1, charT ch2) |
| Perform a case insensitive comparison. | |
Based on code from http://stackoverflow.com/questions/3152241/case-insensitive-stdstring-find
templated version of my_equal so it could work with both char and wchar_t
Definition at line 49 of file utilities.hpp.
|
inline |
| [in] | loc | The locale to use for determining the case of values |
Definition at line 54 of file utilities.hpp.
|
inline |
| ch1 | The first value to compare |
| ch2 | The second value to compare |
Definition at line 63 of file utilities.hpp.