value overloads
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.
OptionValue const&
value(std::size_t index) const;
» more...
Return a const reference to the value (possibly in a null state) of this handle object's option having the specified name.
OptionValue const&
value(std::string_view const& name) const;
» more...
const reference to the value of the option at indexconst reference to the value of the named option| Name | Description |
|---|---|
| index | zero-based option position |
| name | option name to look up |