BloombergLP::balcl::OptionValue::OptionValue

Create a command-line-option value object in the unset state (i.e., OptionType::e_VOID == type()), using the specified basicAllocator to supply memory. Note that (atypically) this constructor disallows 0 for basicAllocator; invoking the constructor with 0 dispatches to the constructor overload that explicitly accepts an int value for its first argument (see below).

Synopsis

Declared in <balcl_optionvalue.h>

explicit
OptionValue(bslma::Allocator* basicAllocator);