[#BloombergLP-bsltf-TestValuesArray-2constructor-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::xref:BloombergLP/bsltf/TestValuesArray.adoc[TestValuesArray]::TestValuesArray
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create a `TestValuesArray` object containing 52 distinct values of the (template parameter) type `VALUE`, using a `bslma&colon;&colon;MallocFree` allocator to supply memory&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bsltf/TestValuesArray/2constructor-08.adoc[TestValuesArray]();
----

[.small]#xref:BloombergLP/bsltf/TestValuesArray/2constructor-08.adoc[_» more&period;&period;&period;_]#

Create a `TestValuesArray` with 52 distinct values&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bsltf/TestValuesArray/2constructor-01.adoc[TestValuesArray](ALLOCATOR basicAllocator);
----

[.small]#xref:BloombergLP/bsltf/TestValuesArray/2constructor-01.adoc[_» more&period;&period;&period;_]#

Create a `TestValuesArray` from `spec` using a malloc&sol;free allocator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bsltf/TestValuesArray/2constructor-05.adoc[TestValuesArray](char const* spec);
----

[.small]#xref:BloombergLP/bsltf/TestValuesArray/2constructor-05.adoc[_» more&period;&period;&period;_]#

Create a `TestValuesArray` from `spec` using the specified allocator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bsltf/TestValuesArray/2constructor-0e.adoc[TestValuesArray](
    char const* spec,
    ALLOCATOR basicAllocator);
----

[.small]#xref:BloombergLP/bsltf/TestValuesArray/2constructor-0e.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| allocator used to supply memory
| *spec*
| null&hyphen;terminated string of character identifiers
|===


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