storage_ptr::is_shared

Return true if ownership of the memory resource is shared.

Synopsis

bool
is_shared() const noexcept;

Description

This function returns true for memory resources created using make_shared_resource.