BloombergLP::bdlcc::SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard

This class implements a guard that invokes TYPE::popComplete on a NODE upon destruction.

Synopsis

Declared in <bdlcc_singleproducersingleconsumerboundedqueue.h>

template<
    class TYPE,
    class NODE>
class SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard;

Member Functions

NameDescription
SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard [constructor]Create a guard managing the specified queue and will invoke popComplete with the specified node and index.
~SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard [destructor]Destroy this object and invoke the TYPE::popComplete.