Destroy the current managed object (if any) and reset this managed pointer to empty. Note that the optionally specified cookie and deleter will be ignored, as empty managed pointers do not invoke a deleter.

Synopsis

Declared in <bslma_managedptr.h>

void
load(
    bsl::nullptr_t = 0,
    void* cookie = 0,
    DeleterFunc deleter = 0);

Created with MrDocs