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
object::~object

Destructor.

Synopsis
~object();
Description

The destructor for each element is called if needed, any used memory is deallocated, and shared ownership of the memory_resource is released.

Complexity

Constant, or linear in size().

Exception Safety

No-throw guarantee.


PrevUpHomeNext