Create a command‐line option from the specified optionInfo.
Synopsis
Declared in <balcl_option.h>
explicit
Option(
OptionInfo const& optionInfo,
bslma::Allocator* basicAllocator = 0);
Description
Create a command‐line option containing the value of the specified optionInfo. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
Parameters
Name |
Description |
optionInfo |
option descriptor providing the value |
basicAllocator |
memory allocator; null uses the default |
Created with MrDocs