std::range_error(3) Library Functions Manual std::range_error(3)

std::range_error

#include <stdexcept>

Inherits std::runtime_error.


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 noexcept

Thrown to indicate range errors in internal computations.

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.

Reimplemented in std::filesystem::filesystem_error, and std::experimental::filesystem::v1::filesystem_error.

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

libstdc++