.TH "std::exception" 3cxx "Tue Jul 2 2019" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::exception \- Base class for all library exceptions\&. .SH SYNOPSIS .br .PP .PP Inherited by __gnu_cxx::__concurrence_broadcast_error, __gnu_cxx::__concurrence_lock_error, __gnu_cxx::__concurrence_unlock_error, __gnu_cxx::__concurrence_wait_error, \fB__gnu_cxx::forced_error\fP, \fB__gnu_cxx::recursive_init_error\fP, \fBstd::bad_alloc\fP, \fBstd::bad_cast\fP, \fBstd::bad_exception\fP, \fBstd::bad_function_call\fP, \fBstd::bad_typeid\fP, \fBstd::bad_weak_ptr\fP, \fBstd::ios_base::failure\fP, \fBstd::logic_error\fP, and \fBstd::runtime_error\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual const char * \fBwhat\fP () const _GLIBCXX_TXN_SAFE_DYN noexcept" .br .in -1c .SH "Detailed Description" .PP Base class for all library exceptions\&. This is the base class for all exceptions thrown by the standard library, and by certain language expressions\&. You are free to derive your own exception classes, or use a different hierarchy, or to throw non-class data (e\&.g\&., fundamental types)\&. .PP Definition at line 60 of file exception\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.