std::domain_error
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <stdexcept>
|
||
class domain_error; |
||
Definisce un tipo di oggetto da gettare come eccezione. Si segnala gli errori che si verificano a causa di una funzione matematica non è definito per il valore dell'argomento (ad esempio
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.
Inheritance diagram
Membri funzioni
costruisce l'oggetto eccezione 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. (metodo pubblico) | |
Inherited from std::exception
Member functions
[virtuale] |
distrugge l'oggetto eccezione 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. (metodo pubblico virtuale) |
[virtuale] |
restituisce una stringa esplicativa 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. (metodo pubblico virtuale) |