std::logic_error
Материал из 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. |
| Заголовочный файл <stdexcept>
|
||
| class logic_error; |
||
Определяет тип объекта должны быть брошены как исключение. Он сообщает об ошибках, которые являются следствием порочной логике в рамках программы, такие как нарушение логической предпосылки или класс инвариантов и можно предотвратить.
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.
You can help to correct and verify the translation. Click here for instructions.
[править] Член функций
| строит объект исключения 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. (public функция-член) | |
Унаследован от std::exception
Member functions
| [virtual] |
разрушает объект исключения 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. (virtual public std::exception функция-член)
|
| [virtual] |
возвращает пояснительной строкой 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. (virtual public std::exception функция-член)
|
