[#BloombergLP-balcl-Option-2constructor-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/Option.adoc[Option]::Option :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balcl_option.h>` Create a default (empty) command‐line option. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balcl/Option/2constructor-07.adoc[Option](); ---- [.small]#xref:BloombergLP/balcl/Option/2constructor-07.adoc[_» more..._]# Create a default (empty) command‐line option using the specified `basicAllocator` to supply memory. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/Option/2constructor-06.adoc[Option](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- [.small]#xref:BloombergLP/balcl/Option/2constructor-06.adoc[_» more..._]# Create a `Option` object having the same value as the specified `original` object. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balcl/Option/2constructor-04.adoc[Option]( xref:BloombergLP/balcl/Option.adoc[Option] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/Option/2constructor-04.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/Option/2constructor-08.adoc[Option]( xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo] const& optionInfo, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/Option/2constructor-08.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#