This class provides a destruction guard that pops an element from a FixedQueue.
Synopsis
Declared in <bdlcc_fixedqueue.h>
template<class VAL>
class FixedQueue_PopGuard;
Description
This class provides a guard that, upon its destruction, will remove (pop) the indicated element from the FixedQueue object supplied at construction. Note that this guard is used to provide exception safety when popping an element from a FixedQueue object.
Member Functions
Name |
Description |
|
Create a guard that pops the indicated element on destruction. |
|
Update the state of the |
Created with MrDocs