#include <string>
Go to the source code of this file.
|
bool | CaseInsensitiveEqual (const std::string &s1, const std::string &s2) |
|
template<typename CharType , size_t StringLength> |
bool | NextString (CharType(&string)[StringLength], CharType min_char, CharType max_char) |
| Increment a string. More...
|
|
template<typename CharType , size_t StringLength, typename Fn > |
void | ForEachNoDup (CharType(&string)[StringLength], CharType min_char, CharType max_char, Fn &&fn) |
| Iterate over string values and call function for each string without successive duplicate characters. More...
|
|
◆ CaseInsensitiveEqual()
bool CaseInsensitiveEqual |
( |
const std::string & |
s1, |
|
|
const std::string & |
s2 |
|
) |
| |
◆ ForEachNoDup()
template<typename CharType , size_t StringLength, typename Fn >
void ForEachNoDup |
( |
CharType(&) |
string[StringLength], |
|
|
CharType |
min_char, |
|
|
CharType |
max_char, |
|
|
Fn && |
fn |
|
) |
| |
Iterate over string values and call function for each string without successive duplicate characters.
Definition at line 32 of file str.h.
◆ NextString()
template<typename CharType , size_t StringLength>
bool NextString |
( |
CharType(&) |
string[StringLength], |
|
|
CharType |
min_char, |
|
|
CharType |
max_char |
|
) |
| |
Increment a string.
Useful to enumerate all fixed length strings with characters in [min_char, max_char].
Definition at line 17 of file str.h.