boost::openmethod::weak_virtual_ptr::owner_before

owner_before overloads

Synopses

Declared in <boost/openmethod/interop/std_weak_ptr.hpp>

Compare owners with a shared_virtual_ptr

template<class Other>
bool
owner_before(virtual_ptr<std::shared_ptr<Other>, Registry> const& other) const noexcept;

Compare owners with a weak_virtual_ptr

template<class Other>
bool
owner_before(weak_virtual_ptr<Other, Registry> const& other) const noexcept;

Return Value

  • The result of std::weak_ptr::owner_before applied to the std::shared_ptr held by other.

  • The result of std::weak_ptr::owner_before applied to the std::weak_ptr held by other.

Parameters

Name

Description

other

A shared_virtual_ptr.

Created with MrDocs