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

Public Types

using error_base = fcppt::recursive<fcppt::parse::error<Ch>>
 
using string_type = std::basic_string<Ch>
 

Public Member Functions

 named_error (string_type &&, error_base &&)
 
string_type const & name () const
 
error_base const & error () const
 
bool operator== (named_error const &) const =default
 

Member Typedef Documentation

◆ error_base

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

◆ string_type

template<typename Ch >
using fcppt::parse::named_error< Ch >::string_type = std::basic_string<Ch>

Constructor & Destructor Documentation

◆ named_error()

template<typename Ch >
fcppt::parse::named_error< Ch >::named_error ( string_type && ,
error_base &&  )

Member Function Documentation

◆ error()

template<typename Ch >
error_base const & fcppt::parse::named_error< Ch >::error ( ) const
nodiscard

◆ name()

template<typename Ch >
string_type const & fcppt::parse::named_error< Ch >::name ( ) const
nodiscard

◆ operator==()

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