Create an empty shared pointer.
Declared in <bslstl_sharedptr.h>
shared_ptr(
nullptr_t nullPointerLiteral,
BloombergLP::bslma::Allocator* basicAllocator);
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.
| Name | Description |
|---|---|
| nullPointerLiteral | null-pointer literal (unused; selects this overload) |
| basicAllocator | allocator used to supply memory |