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

Public Types

using error_base = fcppt::recursive<fcppt::parse::error<Ch>>
 
using left_type = fcppt::strong_typedef<error_base, fcppt::parse::left_error_tag>
 
using right_type = fcppt::strong_typedef<error_base, fcppt::parse::right_error_tag>
 

Public Member Functions

 alternative_error (left_type &&, right_type &&)
 
error_base const & left () const
 
error_base const & right () const
 
bool operator== (alternative_error const &) const =default
 

Member Typedef Documentation

◆ error_base

template<typename Ch >
using fcppt::parse::alternative_error< Ch >::error_base = fcppt::recursive<fcppt::parse::error<Ch>>

◆ left_type

template<typename Ch >
using fcppt::parse::alternative_error< Ch >::left_type = fcppt::strong_typedef<error_base, fcppt::parse::left_error_tag>

◆ right_type

template<typename Ch >
using fcppt::parse::alternative_error< Ch >::right_type = fcppt::strong_typedef<error_base, fcppt::parse::right_error_tag>

Constructor & Destructor Documentation

◆ alternative_error()

template<typename Ch >
fcppt::parse::alternative_error< Ch >::alternative_error ( left_type && ,
right_type &&  )

Member Function Documentation

◆ left()

template<typename Ch >
error_base const & fcppt::parse::alternative_error< Ch >::left ( ) const
nodiscard

◆ operator==()

template<typename Ch >
bool fcppt::parse::alternative_error< Ch >::operator== ( alternative_error< Ch > const & ) const
nodiscarddefault

◆ right()

template<typename Ch >
error_base const & fcppt::parse::alternative_error< Ch >::right ( ) const
nodiscard