[#BloombergLP-bdlcc-SingleConsumerQueueImpl_AllocateLockGuard] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::SingleConsumerQueueImpl_AllocateLockGuard :relfileprefix: ../../ :mrdocs: This class implements a guard that automatically invokes `releaseAllocateLock` on the managed queue upon destruction. == Synopsis Declared in `<bdlcc_singleconsumerqueueimpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> class SingleConsumerQueueImpl_AllocateLockGuard; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlcc/SingleConsumerQueueImpl_AllocateLockGuard/2constructor.adoc[`SingleConsumerQueueImpl_AllocateLockGuard`] [.small]#[constructor]# | Create a `releaseAllocateLock` guard managing the specified `queue`. | xref:BloombergLP/bdlcc/SingleConsumerQueueImpl_AllocateLockGuard/2destructor.adoc[`~SingleConsumerQueueImpl_AllocateLockGuard`] [.small]#[destructor]# | Destroy this object and invoke the managed queue's |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#