bsl::Vector_PushProctor::Vector_PushProctor

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

NameDescription
targetobject conditionally managed by this proctor
allocatorallocator used to destroy the managed object