BloombergLP::balcl::OptionValue::the

Return a const reference to the value of this command line option.

Synopsis

Declared in <balcl_optionvalue.h>

template<class TYPE>
TYPE const&
the() const;

Description

The behavior is undefined unless OptionType::e_VOID != type(), OptionType::typeToEnum<TYPE>::value == type(), and false == isNull().

Return Value

const reference to the held value