std::shared_ptr::~shared_ptr
Da 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. |
~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.
[editar] Exemplo
Esta seção está incompleta Motivo: sem exemplo |