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

Name

Description

testAllocator

The test allocator whose statistics are guarded.

Created with MrDocs