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

Public Types

using pos_type = fcppt::parse::position<Ch>
using string_type = std::basic_string<Ch>
using got_type = fcppt::strong_typedef<string_type, fcppt::parse::got_tag>

Public Member Functions

 typed_error (pos_type, std::type_index, got_type &&)
pos_type pos () const
std::type_index const & type_name () const
string_type const & got () const
bool operator== (typed_error const &) const =default

Member Typedef Documentation

◆ got_type

template<typename Ch>
using fcppt::parse::typed_error< Ch >::got_type = fcppt::strong_typedef<string_type, fcppt::parse::got_tag>

◆ pos_type

template<typename Ch>
using fcppt::parse::typed_error< Ch >::pos_type = fcppt::parse::position<Ch>

◆ string_type

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

Constructor & Destructor Documentation

◆ typed_error()

template<typename Ch>
fcppt::parse::typed_error< Ch >::typed_error ( pos_type ,
std::type_index ,
got_type &&  )

Member Function Documentation

◆ got()

template<typename Ch>
string_type const & fcppt::parse::typed_error< Ch >::got ( ) const
nodiscard

◆ operator==()

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

◆ pos()

template<typename Ch>
pos_type fcppt::parse::typed_error< Ch >::pos ( ) const
nodiscard

◆ type_name()

template<typename Ch>
std::type_index const & fcppt::parse::typed_error< Ch >::type_name ( ) const
nodiscard