Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext
storage_ptr::~storage_ptr

Destructor.

Synopsis
~storage_ptr();
Description

If the pointer has shared ownership of the resource, the shared ownership is released. If this is the last owned copy, the memory resource is destroyed.

Complexity

Constant.

Exception Safety

No-throw guarantee.


PrevUpHomeNext