#include <ValueOrError.h>
◆ TValueOrError() [1/2]
template<typename... ArgTypes>
Construct the value from a proxy from MakeValue.
◆ TValueOrError() [2/2]
Construct the error from a proxy from MakeError.
◆ GetValue() [1/3]
◆ GetValue() [2/3]
Access the value. Asserts if this does not have a value.
◆ GetValue() [3/3]
◆ HasError()
Whether the error is set. An error does imply no value.
◆ HasValue()
Whether the value is set. A value does imply no error.
◆ StealValue()
Steal the value. Asserts if this does not have a value. This causes the value to be unset.
◆ TryGetValue() [1/2]
◆ TryGetValue() [2/2]
Access the value if it is set.
The documentation for this class was generated from the following file: