BloombergLP::bdlcc::BoundedQueue_PopCompleteGuard

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

Synopsis

Declared in <bdlcc_boundedqueue.h>

template<
    class TYPE,
    class NODE>
class BoundedQueue_PopCompleteGuard;

Member Functions

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