
Public Member Functions | |
| sanitizer (std::locale loc) | |
| Cache the locale. | |
| std::string | operator() (std::string str) |
Definition at line 125 of file word_count.cpp.
| std::string sanitizer::operator() | ( | std::string | str | ) | [inline] |
Sanitize a string. Erase non-letter characters, then convert the string to lowercase.
| str | The string to sanitize. |
Definition at line 133 of file word_count.cpp.
1.5.3