#include <string>
Go to the source code of this file.
|
| 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...
|
| |
◆ 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 30 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 15 of file str.h.