Create an empty managed pointer; factory is ignored.

Synopsis

Declared in <bslma_managedptr.h>

template<class FACTORY_TYPE>
ManagedPtr(
    bsl::nullptr_t nullPointerLiteral,
    FACTORY_TYPE* factory);

Description

Create an empty managed pointer. Note that the specified factory is ignored, as an empty managed pointer does not call its deleter.

Parameters

Name

Description

nullPointerLiteral

null‐pointer literal (unused; selects this overload)

factory

unused factory pointer

Created with MrDocs