Create a proctor that manages ptr using the specified deleter.
Declared in <bslstl_sharedptrallocateoutofplacerep.h>
SharedPtrAllocateOutofplaceRep_InitProctor(
TYPE* ptr,
DELETER const& deleter);
Create a proctor managing the specified ptr and using the specified deleter to destroy ptr when the proctor is destroyed, unless it has been released from management by a call to release.
| Name | Description |
|---|---|
| ptr | address of the object managed by this proctor |
| deleter | deleter used to destroy ptr if this proctor is not released |