This class provides a proctor that, unless the release method has been previously invoked, will remove and destroy all the elements from a FixedQueue object supplied at construction (putting that ring‐buffer into a valid empty state) upon the proctor's destruction. Note that this guard is used to provide exception safety when pushing an element into a FixedQueue.
Synopsis
Declared in <bdlcc_fixedqueue.h>
template<class VAL>
class FixedQueue_PushProctor;
Member Functions
Name |
Description |
|
Create a proctor that manages the specified |
|
Destroy this proctor and, if |
Release from management the |
Created with MrDocs