[#BloombergLP-baljsn-EncoderTestAddress-2constructor-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestAddress.adoc[EncoderTestAddress]::EncoderTestAddress :relfileprefix: ../../../ :mrdocs: Create a `EncoderTestAddress` object by moving from `original`. == Synopsis Declared in `<baljsn_encoder_testtypes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- EncoderTestAddress( xref:BloombergLP/baljsn/EncoderTestAddress.adoc[EncoderTestAddress]&& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- == Description Create an object of type 'EncoderTestAddress' 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]#