|
TGUI 1.x-dev
|
Public Member Functions | |
| Variant () | |
| Default constructor. | |
| template<typename T> | |
| Variant (T &&value) | |
| Construct the variant with an initial value. | |
| template<typename T> | |
| T & | get () |
| Retrieve the value in the variant. | |
| template<typename T> | |
| const T & | get () const |
| Retrieve the value in the variant. | |
|
inline |
Construct the variant with an initial value.
| value | Value to store in the variant |
|
inlinenodiscard |
Retrieve the value in the variant.
|
inlinenodiscard |
Retrieve the value in the variant.