4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::parse::uint< Type > Class Template Reference

Detailed Description

template<typename Type>
class fcppt::parse::uint< Type >

Parses unsigned integers.

An unsigned integer string is a nonempty sequence of fcppt::parse::digits. The string is converted into an unsigned integer using fcppt::extract_from_string.

Template Parameters
TypeMust be a unsigned integer type.
Inheritance diagram for fcppt::parse::uint< Type >:
fcppt::parse::tag

Public Types

using result_type = Type
 

Public Member Functions

 uint ()
 
template<typename Ch , typename Skipper >
fcppt::parse::result< Ch, result_typeparse (fcppt::reference< fcppt::parse::basic_stream< Ch > >, Skipper const &) const
 

Member Typedef Documentation

◆ result_type

template<typename Type >
using fcppt::parse::uint< Type >::result_type = Type

Constructor & Destructor Documentation

◆ uint()

template<typename Type >
fcppt::parse::uint< Type >::uint ( )

Member Function Documentation

◆ parse()

template<typename Type >
template<typename Ch , typename Skipper >
fcppt::parse::result< Ch, result_type > fcppt::parse::uint< Type >::parse ( fcppt::reference< fcppt::parse::basic_stream< Ch > > ,
Skipper const &  ) const
nodiscard