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 to view this page for the latest version.
PrevUpHomeNext
operator== (2 of 2 overloads)

Return true if two storage pointers point to the same memory resource.

Synopsis

Defined in header <boost/json/storage_ptr.hpp>

bool
operator==(
    storage_ptr const& lhs,
    storage_ptr const& rhs);
Description

This function returns true if the memory_resource objects pointed to by lhs and rhs have the same address.

Convenience header <boost/json.hpp>


PrevUpHomeNext