BloombergLP::bslma::TestAllocatorStashedStatistics::TestAllocatorStashedStatistics

Create a stash of the current statistics of testAllocator.

Synopsis

Declared in <bslma_testallocator.h>

TestAllocatorStashedStatistics(TestAllocator* testAllocator);

Description

Create a TestAllocatorStashedStatistics object with its members initialized by the current statistics values of the specified testAllocator, and the address of it as origin.

Parameters

NameDescription
testAllocatorThe test allocator whose statistics are saved.