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 an older version of Boost and was released in 2024. The current version is 1.90.0.
Return true if ownership of the memory resource
is not shared and deallocate is trivial.
bool is_not_shared_and_deallocate_is_trivial() const noexcept;
This function is used to determine if calls to deallocate can effectively be skipped.
Returns ! this->is_shared() &&
this->is_deallocate_trivial()