An instance of this class is used to convert from word_type to std::string. The letters in the word are converted to characters according to their position in alphabet used to construct a ToString instance if one is provided, or using human_readable_letter otherwise.
This function returns a std::string corresponding to the ordered-set alphabet that the initialised ToString object will use to convert from a word_type to a std::string. Specifically, where will correspond to a letter in a word_type, and is a char.
If this function returns the empty string, then conversion will be performed using human_readable_index.
This function converts its second argument input into a std::string and stores the result in the first argument output. The characters of input are converted using the alphabet used to construct the object or set via init(), or with human_readable_letter if empty returns true.
The contents of the first argument output, if any, is removed.
This functions performs no checks on its arguments. In particular, if the alphabet used to define an instance of ToString is not empty, and input contains letters that do not correspond to letters of the alphabet, then bad things will happen.
This function converts its argument input into a std::string. The characters of input are converted using the alphabet used to construct the object or set via init(), or with human_readable_letter if empty returns true.
This functions performs no checks on its arguments. In particular, if the alphabet used to define an instance of ToString is not empty, and input contains letters that do not correspond to letters of the alphabet, then bad things will happen.
A custom combinator for rx::ranges to convert the output of a WordRange object into std::string, that can be combined with other combinators using operator|.
This function converts its argument input into a std::string, by first converting it to a word_type. The characters of input are converted using the alphabet used to construct the object or set via init(), or with human_readable_letter if empty returns true.
This function converts its second argument input into a std::string and stores the result in the first argument output. The characters of input are converted using the alphabet used to construct the object or set via init(), or with human_readable_letter if empty returns true.
The contents of the first argument output, if any, is removed.
This function converts its argument input into a std::string. The characters of input are converted using the alphabet used to construct the object or set via init(), or with human_readable_letter if empty returns true.