Create an empty shared pointer.
Synopsis
Declared in <bslstl_sharedptr.h>
shared_ptr(
nullptr_t nullPointerLiteral,
BloombergLP::bslma::Allocator* basicAllocator);
Description
Create an empty shared pointer. The specified nullPointerLiteral and basicAllocator are not used. Note that use of this constructor is equivalent to calling the default constructor.
Parameters
Name |
Description |
nullPointerLiteral |
null‐pointer literal (unused; selects this overload) |
basicAllocator |
allocator used to supply memory |
Created with MrDocs