Evo C++ Library v0.5.1
|
This goes over converting strings to simpler types like numbers.
The reverse is covered by String Formatting.
This also goes over more advanced conversion using Generic Conversion and split/join features.
Convert strings to bool:
Convert strings to numbers:
Generic conversion is supported via templates:
Reverse generic conversion is also supported. See String Formatting.
Note: Generic conversion to an incompatible type will result in a compiler error.
List, Set, and Map collections can be joined into a delimited string using generic conversion.
See:
A delimited string can be split into List, Set, and Map collections using generic conversion.
See: