Scroll to navigation

std::range_error(3cxx) std::range_error(3cxx)

NAME

std::range_error

SYNOPSIS

Inherits std::runtime_error.

Public Member Functions


range_error (const char *) _GLIBCXX_TXN_SAFE
range_error (const range_error &)=default
range_error (const string &__arg) _GLIBCXX_TXN_SAFE
range_error (range_error &&)=default
range_error & operator= (const range_error &)=default
range_error & operator= (range_error &&)=default
virtual const char * what () const _GLIBCXX_TXN_SAFE_DYN noexcept

Detailed Description

Thrown to indicate range errors in internal computations.

Definition at line 258 of file stdexcept.

Member Function Documentation

virtual const char* std::runtime_error::what () const [virtual], [noexcept], [inherited]

Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor).

Reimplemented from std::exception.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Fri May 28 2021 libstdc++