|
| 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.
|
|
◆ Variant()
template<typename... Types>
template<typename T >
Construct the variant with an initial value.
- Parameters
-
value | Value to store in the variant |
◆ get() [1/2]
template<typename... Types>
template<typename T >
Retrieve the value in the variant.
- Returns
- Stored value
◆ get() [2/2]
template<typename... Types>
template<typename T >
Retrieve the value in the variant.
- Returns
- Stored value
The documentation for this class was generated from the following file: