This mechanism provides the means to get localized TestAllocator statistics in a scope since the construction of the guard, and also reinstates the statistics upon its destruction as if the local reset has not happened. See the section for the statistics managed.
Synopsis
Declared in <bslma_testallocatorstatisticsguard.h>
class TestAllocatorStatisticsGuard;
Member Functions
Name |
Description |
|
Create a |
|
Destroy this object and restore the statistics of the |
Return the stashed value of |
|
Return the stashed value of |
Created with MrDocs