HDK
|
#include <NET_Outcome.h>
Public Types | |
using | value_type = T |
using | error_type = E |
using | exception_type = std::exception_ptr |
Public Member Functions | |
NET_Outcome (T value) | |
NET_Outcome (const E &err) | |
NET_Outcome (const std::exception_ptr &ptr) | |
bool | hasValue () const |
bool | hasError () const |
bool | hasException () const |
T & | value ()& |
const T & | value () const & |
T && | value ()&& |
const error_type & | error () const |
exception_type | exceptionPtr () const |
Definition at line 52 of file NET_Outcome.h.
using NET_Outcome< T, E >::error_type = E |
Definition at line 56 of file NET_Outcome.h.
using NET_Outcome< T, E >::exception_type = std::exception_ptr |
Definition at line 57 of file NET_Outcome.h.
using NET_Outcome< T, E >::value_type = T |
Definition at line 55 of file NET_Outcome.h.
|
inline |
Definition at line 59 of file NET_Outcome.h.
|
inline |
Definition at line 60 of file NET_Outcome.h.
|
inline |
Definition at line 61 of file NET_Outcome.h.
|
inline |
Definition at line 79 of file NET_Outcome.h.
|
inline |
Definition at line 83 of file NET_Outcome.h.
|
inline |
Definition at line 64 of file NET_Outcome.h.
|
inline |
Definition at line 65 of file NET_Outcome.h.
|
inline |
Definition at line 63 of file NET_Outcome.h.
|
inline |
Definition at line 67 of file NET_Outcome.h.
|
inline |
Definition at line 71 of file NET_Outcome.h.
|
inline |
Definition at line 75 of file NET_Outcome.h.