|
C++ Utilities 5.31.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
Contains functions to convert raw argument values to certain types. More...
Functions | |
| template<typename TargetType, Traits::EnableIf< std::is_same< TargetType, std::string > > * = nullptr> | |
| TargetType | convert (const char *value) |
| template<typename TargetType, Traits::EnableIf< std::is_arithmetic< TargetType > > * = nullptr> | |
| TargetType | convert (const char *value) |
Contains functions to convert raw argument values to certain types.
Extend this namespace by additional convert() functions to allow use of Argument::valuesAs() with your custom types.
| TargetType CppUtilities::ValueConversion::convert | ( | const char * | value | ) |
Definition at line 152 of file argumentparser.h.
| TargetType CppUtilities::ValueConversion::convert | ( | const char * | value | ) |
Definition at line 147 of file argumentparser.h.