Conversion from a char to an integer type. More...
#include <integers.hpp>
Public Member Functions | |
int | operator() (char c) |
Converts a char to an integer type. More... | |
Conversion from a char to an integer type.
This is of course restricted to characters ['0'-'9'].
StandardException | : throws if character is outside the range ['0'-'9']. |
Definition at line 82 of file integers.hpp.
|
inline |
Converts a char to an integer type.
This throws an exception and/or configures the error() function for this converter if the input is not a char digit ['0'-'9'].
c | : the input char to be converted [0-9]. |
StandardException | : throws if conversion failed (debug mode only). |
Definition at line 94 of file integers.hpp.