|
|
template<typename T1 = ValueType, typename std::enable_if_t<!std::is_void_v< std::decay_t< T1 > > > * = nullptr> |
| | Result (T1 t) |
| |
|
| Result (ErrorType error) |
| |
|
| Result (const Result< ValueType, ErrorType > &other) |
| |
|
| Result (Result< ValueType, ErrorType > &&other) |
| |
|
Result & | operator= (const Result< ValueType, ErrorType > &other) |
| |
|
Result & | operator= (Result< ValueType, ErrorType > &&other) |
| |
| bool | isValid () const noexcept |
| |
|
| operator bool () const noexcept |
| |
|
template<typename T1 = ValueType, typename std::enable_if_t<!std::is_void_v< std::decay_t< T1 > > > * = nullptr> |
| T1 & | get () |
| |
|
template<typename T1 = ValueType, typename std::enable_if_t<!std::is_void_v< std::decay_t< T1 > > > * = nullptr> |
| const T1 & | get () const |
| |
|
template<typename T1 = ValueType, typename std::enable_if_t<!std::is_void_v< std::decay_t< T1 > > > * = nullptr> |
| T1 & | operator* () |
| |
|
template<typename T1 = ValueType, typename std::enable_if_t<!std::is_void_v< std::decay_t< T1 > > > * = nullptr> |
| const T1 & | operator* () const |
| |
|
const ErrorType & | error () const |
| |
|
ErrorType & | error () |
| |