.TH "std::bad_any_cast" 3cxx "Wed Jul 28 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::bad_any_cast \- Exception class thrown by a failed \fCany_cast\fP\&. .SH SYNOPSIS .br .PP .PP Inherits \fBstd::bad_cast\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual const char * \fBwhat\fP () const noexcept" .br .in -1c .SH "Detailed Description" .PP Exception class thrown by a failed \fCany_cast\fP\&. .PP Definition at line 54 of file any\&. .SH "Member Function Documentation" .PP .SS "virtual const char* std::bad_any_cast::what () const\fC [inline]\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::bad_cast\fP\&. .PP Definition at line 57 of file any\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.