[#BloombergLP-bslma-StdTestAllocator-construct] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator]::construct :relfileprefix: ../../../ :mrdocs: Copy‐construct an object of (template parameter) `TYPE` from the specified `val` at the memory address specified by `address`. Do not directly allocate memory. The behavior is undefined unless `address` is not properly aligned for objects of the given `TYPE`. == Synopsis Declared in `<bslma_stdtestallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ELEMENT_TYPE> void construct( ELEMENT_TYPE* address, TYPE const& val); ---- == Parameters [cols="1,4"] |=== | Name| Description | *address* | The address at which to construct the object. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#