.TH "std::out_of_range" 3cxx "Sat Aug 14 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::out_of_range .SH SYNOPSIS .br .PP .PP Inherits \fBstd::logic_error\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBout_of_range\fP (const char *) _GLIBCXX_TXN_SAFE" .br .ti -1c .RI "\fBout_of_range\fP (const \fBout_of_range\fP &)=default" .br .ti -1c .RI "\fBout_of_range\fP (const \fBstring\fP &__arg) _GLIBCXX_TXN_SAFE" .br .ti -1c .RI "\fBout_of_range\fP (\fBout_of_range\fP &&)=default" .br .ti -1c .RI "\fBout_of_range\fP & \fBoperator=\fP (const \fBout_of_range\fP &)=default" .br .ti -1c .RI "\fBout_of_range\fP & \fBoperator=\fP (\fBout_of_range\fP &&)=default" .br .ti -1c .RI "virtual const char * \fBwhat\fP () const _GLIBCXX_TXN_SAFE_DYN noexcept" .br .in -1c .SH "Detailed Description" .PP This represents an argument whose value is not within the expected range (e\&.g\&., boundary checks in basic_string)\&. .PP Definition at line 200 of file stdexcept\&. .SH "Member Function Documentation" .PP .SS "virtual 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)\&. .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\&.