|
purify
C++ Purify implementation with native circuit and BPP support
|
#include <expected.hpp>
Public Types | |
| using | value_type = void |
| using | error_type = E |
| using | unexpected_type = Unexpected<E> |
Public Member Functions | |
| constexpr | Expected () noexcept=default |
| constexpr | Expected (const Unexpected< E > &error) |
| constexpr | Expected (Unexpected< E > &&error) |
| constexpr | Expected (const Expected &)=default |
| constexpr | Expected (Expected &&) noexcept=default |
| constexpr Expected & | operator= (const Expected &)=default |
| constexpr Expected & | operator= (Expected &&) noexcept=default |
| ~Expected ()=default | |
| constexpr bool | has_value () const noexcept |
| constexpr | operator bool () const noexcept |
| constexpr void | value () const |
| constexpr E & | error () & |
| constexpr const E & | error () const & |
| constexpr E && | error () && |
| constexpr const E && | error () const && |
| void & | operator* () & |
| void * | operator-> () |
Definition at line 318 of file expected.hpp.
| using purify::Expected< void, E >::error_type = E |
Definition at line 321 of file expected.hpp.
| using purify::Expected< void, E >::unexpected_type = Unexpected<E> |
Definition at line 322 of file expected.hpp.
| using purify::Expected< void, E >::value_type = void |
Definition at line 320 of file expected.hpp.
|
constexprdefaultnoexcept |
Referenced by Expected(), Expected(), Expected(), operator=(), operator=(), and ~Expected().
|
inlineconstexpr |
Definition at line 325 of file expected.hpp.
References error(), and Expected().
|
inlineconstexpr |
Definition at line 326 of file expected.hpp.
References error().
|
constexprdefault |
References Expected().
|
constexprdefaultnoexcept |
References Expected().
|
default |
References Expected().
|
inlinenodiscardconstexpr |
Definition at line 348 of file expected.hpp.
Referenced by Expected(), and Expected().
|
inlinenodiscardconstexpr |
Definition at line 362 of file expected.hpp.
|
inlinenodiscardconstexpr |
Definition at line 355 of file expected.hpp.
|
inlinenodiscardconstexpr |
Definition at line 369 of file expected.hpp.
|
inlinenodiscardconstexprnoexcept |
Definition at line 334 of file expected.hpp.
References has_value().
Referenced by has_value(), and operator bool().
|
inlineexplicitnodiscardconstexprnoexcept |
Definition at line 338 of file expected.hpp.
References has_value().
|
inlinenodiscard |
Definition at line 178 of file expected.hpp.
|
inlinenodiscard |
Definition at line 194 of file expected.hpp.
|
constexprdefault |
References Expected().
|
constexprdefaultnoexcept |
References Expected().
|
inlineconstexpr |
Definition at line 342 of file expected.hpp.