Android-cuttlefish cvd tool
|
#include <expected.h>
Public Member Functions | |
constexpr | unexpected (const unexpected &)=default |
constexpr | unexpected (unexpected &&) noexcept(std::is_nothrow_move_constructible_v< E >)=default |
template<class Err = E _ENABLE_IF( std::is_constructible_v<E, Err> && !std::is_same_v<std::remove_cv_t<std::remove_reference_t<E>>, std::in_place_t> && !std::is_same_v<std::remove_cv_t<std::remove_reference_t<E>>, unexpected>)> | |
constexpr | unexpected (Err &&e) |
template<class U , class... Args _ENABLE_IF> | |
constexpr | unexpected (std::in_place_t, std::initializer_list< U > il, Args &&... args) |
template<class Err _ENABLE_IF> | |
constexpr | unexpected (const unexpected< Err > &rhs) |
template<class Err _ENABLE_IF> | |
constexpr | unexpected (const unexpected< Err > &rhs) |
template<class Err _ENABLE_IF> | |
constexpr | unexpected (unexpected< Err > &&rhs) |
template<class Err _ENABLE_IF> | |
constexpr | unexpected (unexpected< Err > &&rhs) |
constexpr unexpected & | operator= (const unexpected &)=default |
constexpr unexpected & | operator= (unexpected &&) noexcept(std::is_nothrow_move_assignable_v< E >)=default |
template<class Err = E> | |
constexpr unexpected & | operator= (const unexpected< Err > &rhs) |
template<class Err = E> | |
constexpr unexpected & | operator= (unexpected< Err > &&rhs) |
constexpr const E & | value () const &noexcept |
constexpr E & | value () &noexcept |
constexpr const E && | value () const &&noexcept |
constexpr E && | value () &&noexcept |
void | swap (unexpected &other) noexcept(std::is_nothrow_swappable_v< E >) |
Private Attributes | |
E | val_ |
Friends | |
template<class E1 , class E2 > | |
constexpr bool | operator== (const unexpected< E1 > &e1, const unexpected< E2 > &e2) |
template<class E1 , class E2 > | |
constexpr bool | operator!= (const unexpected< E1 > &e1, const unexpected< E2 > &e2) |
template<class E1 > | |
void | swap (unexpected< E1 > &x, unexpected< E1 > &y) noexcept(noexcept(x.swap(y))) |
|
constexprdefault |
|
constexprdefaultnoexcept |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
constexprdefault |
|
inlineconstexpr |
|
constexprdefaultnoexcept |
|
inlineconstexpr |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
friend |
|
friend |
|
friend |
|
private |