◐ Shell
clean mode source ↗

std::logic_error – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<stdexcept>

class logic_error;

Definiert eine Art von Objekt als Ausnahme ausgelöst. Es meldet Fehler, die eine Folge der fehlerhaften Logik sind innerhalb des Programms, wie verletzt logischen Voraussetzungen oder Klasseninvarianten und kann vermeidbare .

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.

cpp/error/exception

Inheritance diagram

Member-Funktionen

baut das Exception-Objekt

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.


(öffentliche Elementfunktion) [edit]

Inherited from std::exception

Member functions

Zerstört das Ausnahme-Objekt

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.


(virtuellen öffentlichen Member-Funktion of std::exception) [edit]

gibt einen erläuternden String

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.


(virtuellen öffentlichen Member-Funktion of std::exception) [edit]