Create a command-line-option value object having the specified type.
Declared in <balcl_optionvalue.h>
OptionValue(
OptionType::Enum type,
bslma::Allocator* basicAllocator = 0);
If OptionType::e_VOID != type, the object has 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.
| Name | Description |
|---|---|
| type | option type for the value |
| basicAllocator | memory allocator; null uses the default |