Create an empty managed pointer from two null-pointer literals.
Declared in <bslma_managedptr.h>
explicit
ManagedPtr(
bsl::nullptr_t nullPointerLiteral,
bsl::nullptr_t cookieNullPointerLiteral);
Create an empty managed pointer. Note that this constructor is necessary to match null-pointer literal arguments, in order to break ambiguities and provide valid type deduction with the other constructor templates in this class.
| Name | Description |
|---|---|
| nullPointerLiteral | null-pointer literal (unused; selects this overload) |
| cookieNullPointerLiteral | null-pointer literal (unused; selects this overload) |