4.4.1
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
Public Types | Public Member Functions
fcppt::parse::basic_char< Ch > Class Template Reference

Detailed Description

template<typename Ch>
class fcppt::parse::basic_char< Ch >

Parses a single character and returns it.

In case the next input character is c, then c is returned. Otherwise, an error is returned.

Inheritance diagram for fcppt::parse::basic_char< Ch >:
fcppt::parse::tag

Public Types

using result_type = Ch
 

Public Member Functions

 basic_char ()
 
template<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 Ch >
using fcppt::parse::basic_char< Ch >::result_type = Ch

Constructor & Destructor Documentation

◆ basic_char()

template<typename Ch >
fcppt::parse::basic_char< Ch >::basic_char ( )

Member Function Documentation

◆ parse()

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