Create an empty shared pointer, i.e., a shared pointer with no representation that does not refer to any object and has no deleter.

Synopsis

Declared in <bslstl_sharedptr.h>

constexpr
shared_ptr(bsl::nullptr_t nullPointerLiteral) noexcept;

Parameters

Name

Description

nullPointerLiteral

null‐pointer literal (unused; selects this overload)

Created with MrDocs