enum_name
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mgutility::bad_optional_access Struct Reference

Exception thrown when accessing an empty optional. More...

#include <optional.hpp>

Inheritance diagram for mgutility::bad_optional_access:

Public Member Functions

const charwhat () const noexcept
 Returns the exception message.
 

Detailed Description

Exception thrown when accessing an empty optional.

Member Function Documentation

◆ what()

const char * mgutility::bad_optional_access::what ( ) const
inlinenoexcept

Returns the exception message.

Returns
A C-string with the exception message.

The documentation for this struct was generated from the following file: