|
IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
|
#include <ice/expected.hxx>
Public Member Functions | |
| Expected () noexcept | |
| Expected (ErrorType error) noexcept | |
| template<typename OtherValue> requires (std::is_convertible_v<OtherValue, Value>) | |
| Expected (OtherValue &&value) noexcept | |
| Expected (Expected &&other) noexcept | |
| template<typename OtherValue> requires (std::is_convertible_v<OtherValue, Value>) (std::is_nothrow_move_assignable_v<Value>) | |
| auto | operator= (OtherValue &&value) noexcept -> Expected & |
| auto | operator= (ErrorType error) noexcept -> Expected & |
| auto | operator= (Expected &&other) noexcept -> Expected & |
| ~Expected () noexcept | |
| bool | valid () const noexcept |
| bool | succeeded () const noexcept |
| bool | failed () const noexcept |
| template<typename Self> | |
| auto | value (this Self &&self) noexcept -> auto && |
| auto | error () const noexcept -> ErrorType |
| bool | operator== (ErrorType error) const noexcept |
| operator bool () const noexcept | |
| operator Value & () &noexcept | |
| operator Value && () &&noexcept | |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
| ErrorType ice::Expected< Value, ErrorType >::_error |
| Value ice::Expected< Value, ErrorType >::_value |