4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::enum_::invalid< Enum > Class Template Reference

Detailed Description

template<typename Enum>
class fcppt::enum_::invalid< Enum >

Exception to use for invalid enums.

Inheritance diagram for fcppt::enum_::invalid< Enum >:
fcppt::exception

Public Member Functions

 invalid (Enum)
 
- Public Member Functions inherited from fcppt::exception
FCPPT_DETAIL_SYMBOL exception (fcppt::string &&what)
 Constructs an exception from a string.
 
FCPPT_DETAIL_SYMBOL exception (exception const &)
 
FCPPT_DETAIL_SYMBOL exception (exception &&) noexcept
 
FCPPT_DETAIL_SYMBOL exceptionoperator= (exception const &)
 
FCPPT_DETAIL_SYMBOL exceptionoperator= (exception &&) noexcept
 
FCPPT_DETAIL_SYMBOL fcppt::string const & string () const
 Returns the error message.
 
FCPPT_DETAIL_SYMBOL char const * what () const noexcept override
 Returns a generic error.
 
FCPPT_DETAIL_SYMBOL ~exception () noexcept override
 

Constructor & Destructor Documentation

◆ invalid()

template<typename Enum >
fcppt::enum_::invalid< Enum >::invalid ( Enum )
explicit