Same as the preceding overload, comparing a shared_ptr to a weak_ptr.

Synopsis

Declared in <bslstl_ownerequal.h>

template<
    class ELEMENT_TYPE_X,
    class ELEMENT_TYPE_Y>
bool
operator()(
    shared_ptr<ELEMENT_TYPE_X> const& x,
    weak_ptr<ELEMENT_TYPE_Y> const& y) const noexcept;

Created with MrDocs