.TH "std::experimental::bad_optional_access" 3cxx "Sun Feb 7 2021" "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 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 "virtual const char * \fBwhat\fP () const _GLIBCXX_TXN_SAFE_DYN noexcept" .br .in -1c .SH "Detailed Description" .PP Exception class thrown when a disengaged optional object is dereferenced\&. .PP Definition at line 115 of file optional\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.