BloombergLP::bdlcc::SingleConsumerQueueImpl_PopCompleteGuard

This class implements a guard that automatically invokes popComplete on the managed queue upon destruction.

Synopsis

Declared in <bdlcc_singleconsumerqueueimpl.h>

template<class TYPE>
class SingleConsumerQueueImpl_PopCompleteGuard;

Member Functions

NameDescription
SingleConsumerQueueImpl_PopCompleteGuard [constructor]Create a popComplete guard managing the specified queue.
~SingleConsumerQueueImpl_PopCompleteGuard [destructor]Destroy this object and invoke the popComplete method on the managed queue.