libstdc++
std::range_error Class Reference
Inheritance diagram for std::range_error:
[legend]

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_erroroperator= (const range_error &)=default
 
range_erroroperator= (range_error &&)=default
 
virtual const char * what () const noexcept
 

Detailed Description

Thrown to indicate range errors in internal computations.

Definition at line 258 of file stdexcept.

Member Function Documentation

◆ what()

virtual const char* std::runtime_error::what ( ) const
virtualnoexceptinherited

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::experimental::filesystem::v1::filesystem_error.


The documentation for this class was generated from the following file: