the overloads

Synopses

Declared in <bdlb_variant.h>

Return a modifiable reference to the held TYPE value.

template<class TYPE>
TYPE&
the();

Return a non‐modifiable reference to the held TYPE value.

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

Return Value

  • modifiable reference to the held TYPE value

  • non‐modifiable reference to the held TYPE value

Created with MrDocs