#include <expect.h>
◆ error_type
◆ value_type
◆ expect() [1/3]
Create a successful object.
◆ expect() [2/3]
◆ expect() [3/3]
◆ ~expect()
◆ equal() [1/2]
◆ equal() [2/2]
| bool expect< void >::equal |
( |
std::error_code const & |
rhs | ) |
const |
|
inlinenoexcept |
◆ error()
| std::error_code expect< void >::error |
( |
| ) |
const |
|
inlinenoexcept |
◆ has_error()
- Returns
- True if
this is storing an error instead of a value.
◆ matches()
| bool expect< void >::matches |
( |
std::error_condition const & |
rhs | ) |
const |
|
inlinenoexcept |
- 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: