|
| Union (const Union &)=default |
|
| Union (Union &&) noexcept=default |
|
Union & | operator= (const Union &)=default |
|
Union & | operator= (Union &&) noexcept=default |
|
template<typename F > |
| Union (const F &t) |
|
template<typename F > |
| Union (const F &&t) |
|
template<typename F > |
Union & | operator= (const F &t) |
|
template<typename F > |
Union & | operator= (F &&t) |
|
auto | index () const |
|
|
std::variant< std::monostate, T... > | value |
|
◆ index()
Returns the index of the value the variant holds. Because we always use std::monostate
as the first type, this will return a value greater zero iff a value is set.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/spicy-docs/checkouts/v1.2.1/hilti/runtime/include/types/union.h