[#BloombergLP-baljsn-EncoderTestChoiceWithAllCategories-2constructor-016] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories]::EncoderTestChoiceWithAllCategories :relfileprefix: ../../../ :mrdocs: Create a `EncoderTestChoiceWithAllCategories` object by moving from `original`. == Synopsis Declared in `<baljsn_encoder_testtypes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- EncoderTestChoiceWithAllCategories( xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories]&& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- == Description Create an object of type 'EncoderTestChoiceWithAllCategories' having the value of the specified 'original' object. After performing this action, the 'original' object will be left in a valid, but unspecified state. 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 move from | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#