BloombergLP::balcl::OptionValue::the

Return a reference providing modifiable access to the underlying variant object of this command-line-option value object.

Synopsis

Declared in <balcl_optionvalue.h>

template<class TYPE>
TYPE&
the();

Description

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

Return Value

reference providing modifiable access to the held value