BloombergLP::balcl::CommandLineOptionsHandle::the

the overloads

Synopses

Declared in <balcl_commandline.h>

Return a const reference to the value of the option at the specified index.

template<class TYPE>
TYPE const&
the(std::size_t index) const;
» more...

Return a const reference to the value of the option having the specified name.

template<class TYPE>
TYPE const&
the(std::string_view const& name) const;
» more...

Return Value

  • const reference to the value of the option at index
  • const reference to the value of the named option

Parameters

NameDescription
indexzero-based option position
nameoption name to look up