[#BloombergLP-bdlc-CompactedArray_RemoveAllProctor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::CompactedArray_RemoveAllProctor :relfileprefix: ../../ :mrdocs: This class implements a proctor that, unless its `release` method has previously been invoked, automatically invokes `removeAll` on a `CompactedArray` upon destruction. == Synopsis Declared in `<bdlc_compactedarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> class CompactedArray_RemoveAllProctor; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlc/CompactedArray_RemoveAllProctor/2constructor.adoc[`CompactedArray_RemoveAllProctor`] [.small]#[constructor]# | Create a `removeAll` proctor that conditionally manages the specified `array` (if non‐zero). | xref:BloombergLP/bdlc/CompactedArray_RemoveAllProctor/2destructor.adoc[`~CompactedArray_RemoveAllProctor`] [.small]#[destructor]# | Destroy this object and, if `release` has not been invoked, invoke the managed array's `removeAll` method. | xref:BloombergLP/bdlc/CompactedArray_RemoveAllProctor/release.adoc[`release`] | Release from management the array currently managed by this proctor. If no array, this method has no effect. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#