BloombergLP::bslma::TestAllocatorStatisticsGuard::TestAllocatorStatisticsGuard

Create a TestAllocatorStatisticsGuard object to stash, reset, and restore statistics of the specified testAllocator.

Synopsis

Declared in <bslma_testallocatorstatisticsguard.h>

explicit
TestAllocatorStatisticsGuard(TestAllocator* testAllocator);

Parameters

NameDescription
testAllocatorThe test allocator whose statistics are guarded.