[#BloombergLP-bslalg-ScalarPrimitives-construct-0daf]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/ScalarPrimitives.adoc[ScalarPrimitives]::construct
:relfileprefix: ../../../
:mrdocs:

Same as the preceding overload&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;scalarprimitives&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TARGET&lowbar;TYPE,
    class ARG1&gt;
static
void
construct(
    TARGET&lowbar;TYPE* address,
    ARG1 const& a1,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *address*
| address of uninitialized storage
| *a1*
| first constructor argument
| *allocator*
| allocator to use if the type uses an allocator
|===


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