C++ Exception Library - overflow_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

No-throw guarantee − no members throw exceptions.

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