[#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. The behavior is undefined unless `index < numOptions()`. [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`. The behavior is undefined unless this handle object has a `name` option (i.e., `0 <= index(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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#