std::domain_error
De cppreference.com
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Déclaré dans l'en-tête <stdexcept> | ||
class domain_error; | ||
Définit un type d'objet à être jeté comme une exception. Il signale les erreurs qui surviennent en raison d'une fonction mathématique n'est pas définie pour la valeur de l'argument (par exemple std::sqrt(-1)) .
Original:
Defines a type of object to be thrown as exception. It reports errors that arise because a mathematical function is not defined for the value of the argument (e.g. std::sqrt(-1)).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifier]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) |
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 ) |
[ 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 ) |