#include <expect.h>
|
| std::error_code | code_ |
| std::aligned_storage< sizeof(void), alignof(void)>::type | storage_ |
◆ 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]
| bool expect< void >::equal |
( |
std::error_code const & | rhs | ) |
const |
|
inlinenoexcept |
◆ error()
| std::error_code expect< void >::error |
( |
| ) |
const |
|
inlinenoexcept |
◆ get()
| void & expect< void >::get |
( |
| ) |
|
|
inlineprivatenoexcept |
◆ has_error()
| bool expect< void >::has_error |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- True if this is storing an error instead of a value.
◆ has_value()
| bool expect< void >::has_value |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- True if this is storing a value instead of an error.
◆ is_convertible()
| constexpr bool expect< void >::is_convertible |
( |
| ) |
|
|
inlinestaticconstexprprivatenoexcept |
◆ matches()
| bool expect< void >::matches |
( |
std::error_condition const & | rhs | ) |
const |
|
inlinenoexcept |
◆ maybe_throw()
| void expect< void >::maybe_throw |
( |
| ) |
const |
|
inlineprivate |
◆ operator bool()
| expect< void >::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
- Returns
- True if this is storing a value instead of an error.
◆ operator*()
| void & expect< void >::operator* |
( |
| ) |
|
|
inlinenoexcept |
◆ operator->()
| void * expect< void >::operator-> |
( |
| ) |
|
|
inlinenoexcept |
◆ operator=()
◆ store()
| void expect< void >::store |
( |
U && | value | ) |
|
|
inlineprivatenoexcept |
◆ value()
| void & expect< void >::value |
( |
| ) |
& |
|
inline |
◆ code_
| std::error_code expect< void >::code_ |
|
private |
◆ storage_
| std::aligned_storage<sizeof(void),alignof(void)>::type expect< void >::storage_ |
|
private |
The documentation for this class was generated from the following file: