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