Deleter that has no effect when converting a null shared pointer.
Declared in <bslma_sharedptrrep.h>
static
void
managedPtrEmptyDeleter(
void* ptr,
void* rep);
This function has no effect. The behavior is undefined unless rep is null. Note that this function serves as the managed ptr deleter when converting an empty or null bsl::shared_ptr to a bslma::ManagedPtr.
| Name | Description |
|---|---|
| ptr | Unused managed-object pointer (ignored). |
| rep | Representation pointer; must be null. |