Create a EncoderTestChoiceWithAllCategories object by moving from original.

Synopsis

Declared in <baljsn_encoder_testtypes.h>

EncoderTestChoiceWithAllCategories(
    EncoderTestChoiceWithAllCategories&& original,
    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

Name

Description

original

object providing the value to move from

basicAllocator

memory allocator; null uses the default

Created with MrDocs