BloombergLP::balcl::OptionValue::OptionValue

Create a OptionValue object having the same value as the specified original object.

Synopsis

Declared in <balcl_optionvalue.h>

OptionValue(
    OptionValue const& original,
    bslma::Allocator* basicAllocator = 0);

Description

Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
originalobject providing the value to copy
basicAllocatormemory allocator; null uses the default