|
| template<class InitValue = Value> |
| constexpr | Undefined (InitValue &&value) |
| | Move that initializes the value.
|
| |
| template<class... Arguments> |
| constexpr | Undefined (std::in_place_t, Arguments &&...arguments) |
| | Move that initializes the value.
|
| |
| template<class InitValue , class... Arguments> |
| constexpr | Undefined (std::in_place_t, std::initializer_list< InitValue > initializerList, Arguments &&...arguments) |
| | Move that initializes the value.
|
| |
| constexpr | Undefined (const Undefined &)=default |
| | Copy constructor.
|
| |
| constexpr | Undefined (Undefined &&)=default |
| | Move constructor.
|
| |
| constexpr auto | value () const &noexcept -> const Value & |
| | Gets the value.
|
| |
| constexpr auto | value () &noexcept -> Value & |
| | Gets the value.
|
| |
| constexpr auto | value () const &&noexcept -> const Value && |
| | Gets the value.
|
| |
| constexpr auto | value () &&noexcept -> Value && |
| | Gets the value.
|
| |
| constexpr auto | swap (Undefined &other) -> void |
| | Swaps two undefined values.
|
| |
template<typename Value = void>
class xentara::workbench::bindings::Undefined< Value >
A value that allows assigning and initializing undefined value for ValueOrUndefined.
This type is used in a similar way to std::unexpected, except that it is used for ValueOrUndefined objects rather than std::expected objects.