|
libzypp
17.38.7
|
#include <zypp-core/ng/pipelines/expected.h>
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 |
Static Public Member Functions | |
| static expected | success () |
| template<typename... ConsParams> | |
| static expected | error (ConsParams &&...params) |
Private Attributes | |
| union zyppng::expected< void, E >:: { ... } | |
| bool | m_isValid |
Definition at line 314 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.
| 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 { ... } |
|
private |
Definition at line 321 of file expected.h.