◐ Shell
clean mode source ↗

std::overflow_error - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Definido no cabeçalho

<stdexcept>

class overflow_error;

Define um tipo de objeto a ser jogado como exceção. Ele informa erros que surgem porque o valor inteiro em algum cálculo não pode ser representado como tinha muito grande valor positivo. Se o valor foi flutuando tipo de ponto, range_error deve ser usado.

Original:

Defines a type of object to be thrown as exception. It reports errors that arise because integer value in some computation could not be represented as it had too large positive value. If the value has floating point type, range_error should be used.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

cpp/error/exceptioncpp/error/runtime error

Inheritance diagram

Funções de membro

constrói o objeto de exceção

Original:

constructs the exception object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(função pública membro) [edit]

Herdado de std::exception

Member functions

destrói o objeto de exceção

Original:

destructs the exception object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(of std::exception função pública virtual membro) [edit]

retorna uma cadeia explicativa

Original:

returns an explanatory string

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(of std::exception função pública virtual membro) [edit]