4.0.0
Freundlich's C++ toolkit
Public Member Functions
fcppt::parse::skipper::alternative< Left, Right > Class Template Reference

Detailed Description

template<typename Left, typename Right>
class fcppt::parse::skipper::alternative< Left, Right >

Tries the left skipper, and if that fails also the right skipper.

Inheritance diagram for fcppt::parse::skipper::alternative< Left, Right >:
fcppt::parse::skipper::tag

Public Member Functions

 alternative (Left &&, Right &&)
 
template<typename Ch >
fcppt::parse::skipper::result< Ch > skip (fcppt::reference< fcppt::parse::basic_stream< Ch > >) const
 

Constructor & Destructor Documentation

◆ alternative()

template<typename Left , typename Right >
fcppt::parse::skipper::alternative< Left, Right >::alternative ( Left &&  ,
Right &&   
)

Member Function Documentation

◆ skip()

template<typename Left , typename Right >
template<typename Ch >
fcppt::parse::skipper::result< Ch > fcppt::parse::skipper::alternative< Left, Right >::skip ( fcppt::reference< fcppt::parse::basic_stream< Ch > >  ) const