rili::SiblingVariant< Base, Types > Class Template Reference
Inheritance diagram for rili::SiblingVariant< Base, Types >:
Collaboration diagram for rili::SiblingVariant< Base, Types >:
Public Member Functions | |
template<typename T > | |
T & | base () noexcept |
template<typename T > | |
T const & | base () const noexcept |
template<typename T > | |
T & | get () |
template<typename T > | |
T const & | get () const |
Public Member Functions inherited from rili::Variant< Types... > | |
Variant () | |
Variant (const Variant< Types... > &other) | |
Variant (Variant< Types... > &&other) | |
Variant< Types... > & | operator= (Variant< Types... > &&other) |
Variant< Types... > & | operator= (Variant< Types... > const &other) |
bool | is () const |
bool | valid () |
void | set (Args &&...args) |
T & | get () |
T const & | get () const |
Member Function Documentation
template<typename Base , typename... Types>
template<typename T >
|
inlinenoexcept |
base used to get reference to base class of all possibly holded types
- Returns
- base class reference
template<typename Base , typename... Types>
template<typename T >
|
inlinenoexcept |
base used to get reference to base class of all possibly holded types
- Returns
- base class reference
template<typename Base , typename... Types>
template<typename T >
|
inline |
template<typename Base , typename... Types>
template<typename T >
|
inline |
The documentation for this class was generated from the following file:
- rili/SiblingVariant.hpp