std::logic_error — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
| Déclaré dans l'en-tête <stdexcept> |
||
|
|
||
Définit un type d'objet à être jeté comme une exception. Il signale les erreurs qui sont une conséquence de la logique défectueuse dans le programme comme violation des conditions préalables logiques ou les invariants de classe et pourraient être évités .
Original:
Defines a type of object to be thrown as exception. It reports errors that are a consequence of faulty logic within the program such as violating logical preconditions or class invariants and may be preventable.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Inheritance diagram
Fonctions membres
construit l'objet exception Original: constructs the exception object The text has been machine-translated via Google Translate. (fonction membre publique) [edit] | |
Inherited from std::exception
Member functions
[ virtuel Original: virtual The text has been machine-translated via Google Translate. |
Détruit l'objet exception Original: destructs the exception object The text has been machine-translated via Google Translate. (function membre virtuelle publique de std::exception) [edit]
|
[ virtuel Original: virtual The text has been machine-translated via Google Translate. |
retourne une chaîne explicative Original: returns an explanatory string The text has been machine-translated via Google Translate. (function membre virtuelle publique de std::exception) [edit]
|