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 a snapshot of the master branch, built from commit 0d0642aa30.
PrevUpHomeNext
storage_ptr::is_not_shared_and_deallocate_is_trivial

Return true if ownership of the memory resource is not shared and deallocate is trivial.

Synopsis
bool
is_not_shared_and_deallocate_is_trivial() const noexcept;
Description

This function is used to determine if calls to deallocate can effectively be skipped.

Effects

Returns ! this->is_shared() && this->is_deallocate_trivial()


PrevUpHomeNext