Return a non-modifiable reference to the held TYPE value.
Declared in <bdlb_variant.h>
template<class TYPE>
TYPE const&
the() const;
TYPE must be the same as one of the types that this variant can hold. The behavior is undefined unless is<TYPE>() returns true and TYPE is not void. Note that TYPE must be specified explicitly, e.g., myValue.the<int>().
non-modifiable reference to the held TYPE value