|
libzypp 17.38.5
|
#include <zypp-core/ng/pipelines/expected.h>
Public Types | |
| using | value_type |
| using | error_type |
Public Member Functions | |
| expected () | |
| template<class G> | |
| expected (unexpected< G > err) noexcept | |
| ~expected () | |
| expected (const expected &other) | |
| expected (expected &&other) noexcept | |
| expected & | operator= (expected other) |
| template<class G = E> | |
| expected & | operator= (unexpected< G > other) |
| void | swap (expected &other) noexcept |
| operator bool () const | |
| bool | is_valid () const |
| E & | error () |
| const E & | error () const |
| void | unwrap () const |
| void & | get () |
| void & | operator* () |
| void * | operator-> () |
| void | visit (F f) |
Static Public Member Functions | |
| static expected | success () |
| template<typename... ConsParams> | |
| static expected | error (ConsParams &&...params) |
Protected Attributes | |
| union { | |
| T m_value | |
| E m_error | |
| }; | |
Private Attributes | |
| union zyppng::expected< void, E >:: { ... } | |
| bool | m_isValid |
Definition at line 314 of file expected.h.
| using zyppng::expected< void, E >::value_type |
Definition at line 71 of file expected.h.
| using zyppng::expected< void, E >::error_type |
Definition at line 72 of file expected.h.
|
inline |
Definition at line 325 of file expected.h.
|
inlinenoexcept |
Definition at line 328 of file expected.h.
|
inline |
Definition at line 333 of file expected.h.
|
inline |
Definition at line 342 of file expected.h.
|
inlinenoexcept |
Definition at line 352 of file expected.h.
|
inline |
Definition at line 362 of file expected.h.
|
inline |
Definition at line 369 of file expected.h.
|
inlinenoexcept |
Definition at line 376 of file expected.h.
|
inlinestatic |
Definition at line 408 of file expected.h.
|
inlinestatic |
Definition at line 414 of file expected.h.
|
inline |
Definition at line 424 of file expected.h.
|
inline |
Definition at line 429 of file expected.h.
|
inline |
Definition at line 440 of file expected.h.
|
inline |
Definition at line 446 of file expected.h.
|
inline |
Definition at line 452 of file expected.h.
|
inline |
Definition at line 215 of file expected.h.
|
inline |
Definition at line 268 of file expected.h.
|
inline |
Definition at line 278 of file expected.h.
|
inline |
Definition at line 303 of file expected.h.
| void* zyppng::expected< void, E >::m_value |
Definition at line 317 of file expected.h.
| E zyppng::expected< void, E >::m_error |
Definition at line 318 of file expected.h.
| union zyppng::expected< void, E > { ... } zyppng::expected< void, E > |
|
private |
Definition at line 321 of file expected.h.
| union { ... } zyppng::expected< void, E > |