[#BloombergLP-bslma-StdTestAllocator-2constructor-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator]::StdTestAllocator :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bslma_stdtestallocator.h>` Create a proxy that forwards to the default test allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslma/StdTestAllocator/2constructor-06.adoc[StdTestAllocator](); ---- [.small]#xref:BloombergLP/bslma/StdTestAllocator/2constructor-06.adoc[_» more..._]# Create a proxy object using the same mechanism as the specified `original`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslma/StdTestAllocator/2constructor-0c.adoc[StdTestAllocator](xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator] const& original); ---- [.small]#xref:BloombergLP/bslma/StdTestAllocator/2constructor-0c.adoc[_» more..._]# Create a proxy sharing the same mechanism as the specified `rhs`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ANY_TYPE> xref:BloombergLP/bslma/StdTestAllocator/2constructor-04.adoc[StdTestAllocator](xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator<ANY_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslma/StdTestAllocator/2constructor-04.adoc[_» more..._]# Create a proxy that forwards to the specified `mechanism`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslma/StdTestAllocator/2constructor-0e.adoc[StdTestAllocator](xref:BloombergLP/bslma/Allocator.adoc[Allocator]* mechanism); ---- [.small]#xref:BloombergLP/bslma/StdTestAllocator/2constructor-0e.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *original* | The test allocator whose mechanism is shared. | *rhs* | The test allocator whose mechanism is shared. | *mechanism* | The test allocator used as the allocation mechanism. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#