◐ Shell
clean mode source ↗

std::range_error — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Déclaré dans l'en-tête

<stdexcept>

class range_error;

Définit un type d'objet à être jeté comme une exception. Il signale les erreurs qui surviennent parce que la valeur en virgule flottante dans certains calculs ne pouvaient être représentés parce qu'il était trop grand ou trop petit dans la grandeur. Si la valeur est de type intégral, underflow_error ou overflow_error doit être utilisé .

Original:

Defines a type of object to be thrown as exception. It reports errors that arise because floating point value in some computation could not be represented because it was too large or too small in magnitude. If the value has integral type, underflow_error or overflow_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

Fonctions membres

construit l'objet exception

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.


(fonction membre publique) [edit]

Inherited from std::exception

Member functions

[

virtuel

Original:

virtual

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

]

Détruit l'objet exception

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.


(function membre virtuelle publique de std::exception) [edit]

[

virtuel

Original:

virtual

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

]

retourne une chaîne explicative

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.


(function membre virtuelle publique de std::exception) [edit]