[#BloombergLP-bslma-TestAllocatorStashedStatistics-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocatorStashedStatistics.adoc[TestAllocatorStashedStatistics]::TestAllocatorStashedStatistics :relfileprefix: ../../../ :mrdocs: Create a stash of the current statistics of `testAllocator`. == Synopsis Declared in `<bslma_testallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- TestAllocatorStashedStatistics(xref:BloombergLP/bslma/TestAllocator.adoc[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 [cols="1,4"] |=== | Name| Description | *testAllocator* | The test allocator whose statistics are saved. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#