.TH "std::bad_optional_access" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::bad_optional_access \- Exception class thrown when a disengaged optional object is dereferenced\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBstd::exception\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBconst\fP char * \fBwhat\fP () \fBconst\fP \fBnoexcept\fP \fBoverride\fP" .br .in -1c .SH "Detailed Description" .PP Exception class thrown when a disengaged optional object is dereferenced\&. .SH "Member Function Documentation" .PP .SS "\fBconst\fP char * std::bad_optional_access::what () const\fC [inline]\fP, \fC [override]\fP, \fC [virtual]\fP, \fC [noexcept]\fP" Returns a C-style character string describing the general cause of the current error\&. .br .PP Reimplemented from \fBstd::exception\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.