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

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
TestValuesArray(
    char const* spec,
    ALLOCATOR basicAllocator);
----

== Description

Create a `TestValuesArray` object containing values created by invoking `bsltf&colon;&colon;TemplateTestFacility&colon;&colon;create` on each character of the specified `spec`, using the specified `basicAllocator` to supply memory&period;

== Parameters

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


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