|
| template<class T, Type::SafeValue... Ts> |
| bool | StormByte::Safe::holds_alternative (const Variant< Ts... > &value) noexcept |
| | Whether value holds T.
|
| template<std::size_t I, Type::SafeValue... Ts> |
| auto & | StormByte::Safe::get (Variant< Ts... > &value) |
| | Read the alternative at I.
|
| template<std::size_t I, Type::SafeValue... Ts> |
| const auto & | StormByte::Safe::get (const Variant< Ts... > &value) |
| | Read the alternative at I.
|
| template<class T, Type::SafeValue... Ts> |
| T & | StormByte::Safe::get (Variant< Ts... > &value) |
| | Read the alternative T.
|
| template<class T, Type::SafeValue... Ts> |
| const T & | StormByte::Safe::get (const Variant< Ts... > &value) |
| | Read the alternative T.
|
| template<std::size_t I, Type::SafeValue... Ts> |
| auto * | StormByte::Safe::get_if (Variant< Ts... > *value) noexcept |
| | Pointer to the alternative at I, or null.
|
| template<std::size_t I, Type::SafeValue... Ts> |
| const auto * | StormByte::Safe::get_if (const Variant< Ts... > *value) noexcept |
| | Pointer to the alternative at I, or null.
|
| template<class T, Type::SafeValue... Ts> |
| T * | StormByte::Safe::get_if (Variant< Ts... > *value) noexcept |
| | Pointer to the alternative T, or null.
|
| template<class T, Type::SafeValue... Ts> |
| const T * | StormByte::Safe::get_if (const Variant< Ts... > *value) noexcept |
| | Pointer to the alternative T, or null.
|
| template<class Visitor, Type::SafeValue... Ts> |
| decltype(auto) | StormByte::Safe::visit (Visitor &&visitor, Variant< Ts... > &value) |
| | Call visitor with the active alternative.
|
| template<class Visitor, Type::SafeValue... Ts> |
| decltype(auto) | StormByte::Safe::visit (Visitor &&visitor, const Variant< Ts... > &value) |
| | Call visitor with the active alternative.
|
| template<Type::SafeValue... Ts> |
| void | StormByte::Safe::swap (Variant< Ts... > &left, Variant< Ts... > &right) noexcept |
| | Swaps two variants.
|