[#BloombergLP-baljsn-EncoderTestChoiceWithAllCategories-2constructor-013] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories]::EncoderTestChoiceWithAllCategories :relfileprefix: ../../../ :mrdocs: Create a `EncoderTestChoiceWithAllCategories` object as a copy of `original`. == Synopsis Declared in `<baljsn_encoder_testtypes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- EncoderTestChoiceWithAllCategories( xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Description Create an object of type 'EncoderTestChoiceWithAllCategories' having the value of the specified 'original' object. Use the optionally specified 'basicAllocator' to supply memory. If 'basicAllocator' is 0, the currently installed default allocator is used. == Parameters [cols="1,4"] |=== | Name| Description | *original* | object providing the value to copy | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#