[#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`&period;

== Synopsis

Declared in `&lt;bslma&lowbar;testallocator&period;h&gt;`

[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`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *testAllocator*
| The test allocator whose statistics are saved&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
