std::shared_ptr::~shared_ptr
Aus cppreference.com
< cpp | memory | shared ptr
![]() | 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. |
Utilities-Bibliothek
Typen Unterstützung (basic types, RTTI, type traits) | ||||||
Dynamische Speicherverwaltung | ||||||
Fehlerbehandlung | ||||||
Programm Unterstützung | ||||||
Variadic Funktionen | ||||||
Datum und Uhrzeit | ||||||
Funktionsobjekte | ||||||
| ||||||
| ||||||
| ||||||
Relationale Operatoren | ||||||
| ||||||
Paare und Tupel | ||||||
| ||||||
| ||||||
| ||||||
| ||||||
Swap, forward und move | ||||||
| ||||||
| ||||||
| ||||||
| ||||||
|
Dynamische Speicherverwaltung
Low-Level-Speicherverwaltung | ||||||
Zuweiser Original: Allocators The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
Initialisierter Speicher Original: Uninitialized storage The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
Intelligente Zeiger Original: Smart pointers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
Garbage Collection Unterstützung Original: Garbage collection support The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
Verschiedenes Original: Miscellaneous The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||
| ||||||
| ||||||
| ||||||
C-Bibliothek Original: C Library The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||
std::shared_ptr
~shared_ptr(); | ||
If *this
owns an object and it is the last shared_ptr
owning it, the object is destroyed through the owned deleter. Otherwise does nothing.
[Bearbeiten]Beispiel
This section is incomplete Reason: no example |