C++ Exception Library - underflow_error


Advertisements

Description

It is an overflow error exception and some components of the standard library also throw exceptions of this type to signal range errors.

Declaration

Following is the declaration for std::overflow_error.

class overflow_error;

C++11

class overflow_error;

Parameters

none

Return Value

none

Exceptions

Strong guarantee − if the constructor throws an exception, there are no side effects.

Members

  • constructor − what_arg has the same content as the value returned by member what.

  • what − It is used to get string identifying exception.

exception.htm
Advertisements