#include <expect.h>
◆ error_type
| using expect< void >::error_type = std::error_code |
◆ value_type
| using expect< void >::value_type = void |
◆ expect() [1/3]
Create a successful object.
◆ expect() [2/3]
◆ expect() [3/3]
◆ ~expect()
◆ equal() [1/2]
◆ equal() [2/2]
◆ error()
| std::error_code expect< void >::error |
( |
| ) |
const |
|
inlinenoexcept |
◆ has_error()
- Returns
- True if
this is storing an error instead of a value.
◆ matches()
- Returns
- False if
has_value(), otherwise error() == rhs.
◆ operator bool()
- Returns
- True if
this is storing a value instead of an error.
◆ operator=()
◆ code_
| std::error_code expect< void >::code_ |
|
private |
The documentation for this class was generated from the following file: