libstdc++: std::overflow_error Class Reference

libstdc++

std::overflow_error Class Reference
Diagnostics » Exceptions

`#include <stdexcept_except.h>`

Inheritance diagram for std::overflow_error:
[legend]

## Public Member Functions
| overflow_error (const char *)
| overflow_error (const overflow_error &)=default
| overflow_error (const string &__arg)
| overflow_error (overflow_error &&)=default
overflow_error & | operator= (const overflow_error &)=default
overflow_error & | operator= (overflow_error &&)=default
virtual const char * | what () const noexcept

## Detailed Description

Thrown to indicate arithmetic overflow.

Definition at line 520 of file stdexcept_except.h.

## 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, std::filesystem::filesystem_error, and std::ios_base::failure.

References what().

Referenced by what().

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

- stdexcept_except.h