Conversion from a string to an integer type. More...
#include <integers.hpp>
Public Member Functions | |
int | operator() (const std::string &input) |
Converts a string to an integer type. More... | |
virtual | ~Converter () |
Conversion from a string to an integer type.
Very quick conversions to an int type. These are partially based on the stlsoft techniques.
Definition at line 49 of file integers.hpp.
|
inlinevirtual |
Definition at line 59 of file integers.hpp.
|
inline |
Converts a string to an integer type.
This throws an exception and/or configures the error() function for this converter if the input does not consist purely of the appropriate digits for an integer.
input | : the input string to be converted. |
StandardException | : throws if conversion failed (debug mode only). |
Definition at line 71 of file integers.hpp.