◐ Shell
clean mode source ↗

std::shared_ptr::operator bool – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

Prüft, ob *this verwaltet ein Objekt, das heißt, ob get() != 0 .

Original:

Checks if *this manages an object, i.e. whether get() != 0.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parameter

(None)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

true wenn *this verwaltet ein Objekt, false sonst .

Original:

true if *this manages an object, false otherwise.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Beispiel

Siehe auch

liefert einen Zeiger auf das verwaltete Objekt
(öffentliche Elementfunktion) [edit]