|
5.0.0
Freundlich's C++ toolkit
|
Parses signed integers.
A signed integer string optionally starts with the symbol '-'. It is then followed by a nonempty sequence of fcppt::parse::digits. The string is converted into a signed integer using fcppt::extract_from_string.
| Type | Must be a signed integer type. |
Public Types | |
| using | result_type = Type |
Public Member Functions | |
| int_ () | |
| template<typename Ch, typename Skipper> | |
| fcppt::parse::result< Ch, result_type > | parse (fcppt::reference< fcppt::parse::basic_stream< Ch > >, Skipper const &) const |
| using fcppt::parse::int_< Type >::result_type = Type |
| fcppt::parse::int_< Type >::int_ | ( | ) |
|
nodiscard |