[#BloombergLP-baljsn-EncoderTestChoiceWithAllCategories-2constructor-016]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories]::EncoderTestChoiceWithAllCategories
:relfileprefix: ../../../
:mrdocs:

Create an object of type &apos;EncoderTestChoiceWithAllCategories&apos; having the value of the specified &apos;original&apos; object&period; After performing this action, the &apos;original&apos; object will be left in a valid, but unspecified state&period; Use the optionally specified &apos;basicAllocator&apos; to supply memory&period; If &apos;basicAllocator&apos; is 0, the currently installed default allocator is used&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;encoder&lowbar;testtypes&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
EncoderTestChoiceWithAllCategories(
    xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories]&& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator);
----


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