Scroll to navigation

std::underflow_error(3cxx) std::underflow_error(3cxx)

NAME

std::underflow_error

SYNOPSIS

Inherits std::runtime_error.

Public Member Functions


underflow_error (const char *) _GLIBCXX_TXN_SAFE
underflow_error (const string &__arg) _GLIBCXX_TXN_SAFE
underflow_error (const underflow_error &)=default
underflow_error (underflow_error &&)=default
underflow_error & operator= (const underflow_error &)=default
underflow_error & operator= (underflow_error &&)=default
virtual const char * what () const noexcept

Detailed Description

Thrown to indicate arithmetic underflow.

Definition at line 288 of file stdexcept.

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.

Author

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

Sun Jan 8 2023 libstdc++