[#BloombergLP-bsltf-StdTestAllocator-05-construct]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::xref:BloombergLP/bsltf/StdTestAllocator-05.adoc[StdTestAllocator]::construct
:relfileprefix: ../../../
:mrdocs:

Construct an `ELEMENT&lowbar;TYPE` object at the specified `address`&period;

== Synopsis

Declared in `&lt;bsltf&lowbar;stdtestallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class ELEMENT&lowbar;TYPE,
    class&period;&period;&period; Args&gt;
void
construct(
    ELEMENT&lowbar;TYPE* address,
    Args&&&period;&period;&period; arguments);
----

== Description

Create an object of (template parameter) `ELEMENT&lowbar;TYPE` at the specified `address`, constructed by forwarding the specified `argument1` and the (variable number of) additional specified `arguments` to the corresponding constructor of `ELEMENT&lowbar;TYPE`&period; The behavior is undefined unless `address` refers to a block of memory having sufficient size and alignment for an object of `ELEMENT&lowbar;TYPE`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *address*
| uninitialized memory at which to construct the object
| *arguments*
| arguments forwarded to the `ELEMENT&lowbar;TYPE` constructor
|===


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