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

Detailed Description

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

Wraps a type in fcppt::recursive.

recursive{p} is equivalent to

construct<recursive<result_of<decltype(p)>)>>
Inheritance diagram for fcppt::parse::recursive< Parser >:
fcppt::parse::tag

Public Types

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

Public Member Functions

 recursive (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::recursive< Parser >::result_type = fcppt::recursive<fcppt::parse::result_of<Parser>>

Constructor & Destructor Documentation

◆ recursive()

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

Member Function Documentation

◆ parse()

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