[#BloombergLP-bslma-TestAllocatorStatisticsGuard-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocatorStatisticsGuard.adoc[TestAllocatorStatisticsGuard]::TestAllocatorStatisticsGuard :relfileprefix: ../../../ :mrdocs: Create a `TestAllocatorStatisticsGuard` object to stash, reset, and restore statistics of the specified `testAllocator`. == Synopsis Declared in `<bslma_testallocatorstatisticsguard.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit TestAllocatorStatisticsGuard(xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator]* testAllocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#