template<typename... Types>
template<typename... Types>
Variant copy constructor.
- Parameters
-
template<typename... Types>
Variant move constructor.
- Parameters
-
template<typename... Types>
template<typename T >
used to get value of Variant
- Warning
- if type T is not equal to currently stored type in Variant std::bad_cast will be thrown
- Returns
- current Variant value
template<typename... Types>
template<typename T >
used to get value of Variant
- Returns
- current Variant value
- Warning
- if type T is not equal to currently stored type in Variant std::bad_cast will be thrown
template<typename... Types>
template<typename T >
Check if currently stored value in Variant is given T type.
- Returns
- true is types match, false otherwise
template<typename... Types>
operator = is Variant move assignment operator
- Parameters
-
- Returns
template<typename... Types>
operator = is Variant copy assignment operator
- Parameters
-
- Returns
template<typename... Types>
template<typename T , typename... Args>
used to set value of Variant and change type if needed
- Parameters
-
template<typename... Types>
valid check if Variant is correctly initialized
- Returns
- true is correctly initialized, false otherwise
The documentation for this struct was generated from the following file: