[#BloombergLP-balcl-CommandLineOptionsHandle-value-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLineOptionsHandle.adoc[CommandLineOptionsHandle]::value :relfileprefix: ../../../ :mrdocs: `value` overloads == Synopses Declared in `<balcl_commandline.h>` Return a `const` reference to the value (possibly in a null state) of the option at the specified `index` in this handle object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balcl/OptionValue.adoc[OptionValue] const& xref:BloombergLP/balcl/CommandLineOptionsHandle/value-0d.adoc[value](std::size_t index) const; ---- [.small]#xref:BloombergLP/balcl/CommandLineOptionsHandle/value-0d.adoc[_» more..._]# Return a `const` reference to the value (possibly in a null state) of this handle object's option having the specified `name`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balcl/OptionValue.adoc[OptionValue] const& xref:BloombergLP/balcl/CommandLineOptionsHandle/value-08.adoc[value](std::string_view const& name) const; ---- [.small]#xref:BloombergLP/balcl/CommandLineOptionsHandle/value-08.adoc[_» more..._]# == Return Value * `const` reference to the value of the option at `index` * `const` reference to the value of the named option == Parameters [cols="1,4"] |=== | Name| Description | *index* | zero‐based option position | *name* | option name to look up |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#