[#BloombergLP-bslma-TestAllocator-2constructor-09d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator]::TestAllocator :relfileprefix: ../../../ :mrdocs: Create an instrumented "test" allocator with the specified `name` and `verboseFlag`. == Synopsis Declared in `<bslma_testallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- TestAllocator( char const* name, bool verboseFlag, xref:BloombergLP/bslma/Allocator.adoc[Allocator]* basicAllocator = 0); ---- == Parameters [cols="1,4"] |=== | Name| Description | *name* | The diagnostic name for this test allocator. | *verboseFlag* | Flag indicating whether to report events verbosely. | *basicAllocator* | The allocator used to supply memory. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#