Get a reference to the stored value of type T.
- Template Parameters
-
- Returns
- Reference to the stored value
- Note
- Asserts if the variant doesn't contain type T. Use is<T>() to check first.
- Warning
- Will crash if called with wrong type - this is intentional for fast failure
Definition at line 129 of file variant.h.