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

Detailed Description

template<typename Parser>
class fcppt::parse::fatal< Parser >

Makes all error fatal.

If the parser p returns an error, then fatal{p} returns a fatal error. Fatal errors make certain parses stop early.

See also
fcppt::parse::error
Inheritance diagram for fcppt::parse::fatal< Parser >:
fcppt::parse::tag

Public Types

using result_type = fcppt::parse::result_of< Parser >
 

Public Member Functions

 fatal (Parser &&)
 
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 Parser >
using fcppt::parse::fatal< Parser >::result_type = fcppt::parse::result_of<Parser>

Constructor & Destructor Documentation

◆ fatal()

template<typename Parser >
fcppt::parse::fatal< Parser >::fatal ( Parser &&  )
explicit

Member Function Documentation

◆ parse()

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