[#BloombergLP-balcl-CommandLineOptionsHandle-the-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLineOptionsHandle.adoc[CommandLineOptionsHandle]::the
:relfileprefix: ../../../
:mrdocs:

`the` overloads

== Synopses

Declared in `&lt;balcl&lowbar;commandline&period;h&gt;`

Return a `const` reference to the value of the option at the specified `index`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
TYPE const&
xref:BloombergLP/balcl/CommandLineOptionsHandle/the-0e.adoc[the](std::size&lowbar;t index) const;
----

[.small]#xref:BloombergLP/balcl/CommandLineOptionsHandle/the-0e.adoc[_» more&period;&period;&period;_]#

Return a `const` reference to the value of the option having the specified `name`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
TYPE const&
xref:BloombergLP/balcl/CommandLineOptionsHandle/the-08.adoc[the](std::string&lowbar;view const& name) const;
----

[.small]#xref:BloombergLP/balcl/CommandLineOptionsHandle/the-08.adoc[_» more&period;&period;&period;_]#

== 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&hyphen;based option position
| *name*
| option name to look up
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
