std::shared_ptr::~shared_ptr
Da cppreference.com.
< cpp | memory | shared ptr
![]() |
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. |
~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.
[modifica] Esempio
This section is incomplete Reason: no example |