|
Electroneum
|
#include <expect.h>
Public Types | |
| using | value_type = void |
| using | error_type = std::error_code |
Public Member Functions | |
| expect () noexcept | |
| Create a successful object. More... | |
| expect (std::error_code const &code) noexcept | |
| expect (expect const &)=default | |
| ~expect ()=default | |
| expect & | operator= (expect const &)=default |
| operator bool () const noexcept | |
| bool | has_error () const noexcept |
| std::error_code | error () const noexcept |
| bool | equal (expect const &rhs) const noexcept |
| bool | equal (std::error_code const &rhs) const noexcept |
| bool | matches (std::error_condition const &rhs) const noexcept |
| using expect< void >::error_type = std::error_code |
| using expect< void >::value_type = void |
error() == rhs.error(). Definition at line 378 of file expect.h.


has_error() && error() == rhs. Definition at line 384 of file expect.h.

|
inlinenoexcept |