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