This overload has no effect; supports null‐pointer literal calls.
Synopsis
Declared in <bslma_allocator.h>
void
deleteObject(bsl::nullptr_t nullPointerLiteral);
Description
This function has no effect. Note that it exists to support calling deleteObject will a null pointer literal, that would otherwise not deduce to a pointer type for the method above. As calls to deleteObject with (typed) null pointer values have well‐defined behavior, it should also support calls with a null pointer literal.
Parameters
Name |
Description |
nullPointerLiteral |
null‐pointer literal (unused; selects this overload) |
Created with MrDocs