std::overflow_error(3cxx)

std::overflow_error3cxx

Usage

#include <stdexcept>

Inherits std::runtime_error.

Public Member Functions

overflow_error (const char *) _GLIBCXX_TXN_SAFE
overflow_error (const overflow_error &)=default
overflow_error (const string &__arg) _GLIBCXX_TXN_SAFE
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.

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.

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

Releases

7 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Author

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

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.