Return true if the specified lhs shared pointer does not refer to an object, and false otherwise.

Synopsis

Declared in <bslstl_sharedptr.h>

template<class LHS_TYPE>
bool
operator==(
    shared_ptr<LHS_TYPE> const& lhs,
    nullptr_t nullPointerLiteral) noexcept;

Return Value

true if lhs does not refer to an object

Parameters

Name

Description

lhs

left‐hand side operand

nullPointerLiteral

null‐pointer literal (unused; selects this overload)

Created with MrDocs