C++ Stdexcept Library - overflow_error


Advertisements

Description

It is a an overflow error exception and this class defines the type of objects thrown as exceptions to arithmetic overflow errors.

Declaration

Following is the declaration for std::overflow_error.

class overflow_error;

C++11

class overflow_error;

Parameters

none

Return Value

none

Members

constructor − Here the string passed as what_arg has the same content as the value returned by member what.

stdexcept.htm
Advertisements