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().

OptionValue const&
value(std::size_t index) const;

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)).

OptionValue const&
value(std::string_view const& name) const;

Created with MrDocs