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

std::overflow_error

#include <stdexcept>

Inherits std::runtime_error.


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

Thrown to indicate arithmetic overflow.

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

References what().

Referenced by what().

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

libstdc++