[#bsl-Vector_PushProctor-2constructor]
= xref:bsl.adoc[bsl]::xref:bsl/Vector_PushProctor.adoc[Vector&lowbar;PushProctor]::Vector&lowbar;PushProctor
:relfileprefix: ../../
:mrdocs:

Create a proctor that conditionally manages the specified `target` object (if non&hyphen;zero) by destroying the managed object with a call to `allocator&lowbar;traits&lt;ALLOCATOR&gt;&colon;&colon;destroy` using the specified `allocator` upon destruction of this proctor, unless the managed objects has been released&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;vector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Vector&lowbar;PushProctor(
    VALUE&lowbar;TYPE* target,
    ALLOCATOR const& allocator);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
