std::bad_optional_access
Exception class thrown when a disengaged optional object is dereferenced.
- Provided by: libstdc++-12-doc (Version: 12.3.0-1ubuntu1~22.04.3)
- Source: gcc-12
- Report a bug
Exception class thrown when a disengaged optional object is dereferenced.
Inherits std::exception.
const char * what () const noexcept override
Exception class thrown when a disengaged optional object is dereferenced.
Returns a C-style character string describing the general cause of the current error.
Reimplemented from std::exception.
Generated automatically by Doxygen for libstdc++ from the source code.