std::shared_ptr::~shared_ptr
Aus cppreference.com
|
|
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. |
<metanoindex/>
<tbody> </tbody> ~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.
Beispiel
| This section is incomplete Reason: no example |