Create a command‐line‐option value object having the type corresponding to the specified type and, if OptionType::e_VOID != type, having the default value of that type. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Synopsis

Declared in <balcl_optionvalue.h>

OptionValue(
    OptionType::Enum type,
    bslma::Allocator* basicAllocator = 0);

Created with MrDocs