Create a proctor that conditionally manages the specified target object (if non‐zero) by destroying the managed object with a call to.
Synopsis
Declared in <bslstl_vector.h>
Vector_PushProctor(
VALUE_TYPE* target,
ALLOCATOR const& allocator);
Description
Create a proctor that conditionally manages the specified target object (if non‐zero) by destroying the managed object with a call to allocator_traits<ALLOCATOR>::destroy using the specified allocator upon destruction of this proctor, unless the managed objects has been released.
Parameters
Name |
Description |
target |
object conditionally managed by this proctor |
allocator |
allocator used to destroy the managed object |
Created with MrDocs