|
LIEF: Library to Instrument Executable Formats Version 1.0.0
|
#include <expected.hpp>


Public Member Functions | |
| template<class... Args> | |
| void | construct (Args &&...args) noexcept |
| template<class Rhs> | |
| void | construct_with (Rhs &&rhs) noexcept |
| template<class... Args> | |
| void | construct_error (Args &&...args) noexcept |
| void | assign (const expected_operations_base &rhs) noexcept |
| void | assign (expected_operations_base &&rhs) noexcept |
| template<class Rhs> | |
| void | assign_common (Rhs &&rhs) |
| bool | has_value () const |
| constexpr T & | get () & |
| constexpr const T & | get () const & |
| constexpr T && | get () && |
| constexpr const T && | get () const && |
| constexpr unexpected< E > & | geterr () & |
| constexpr const unexpected< E > & | geterr () const & |
| constexpr unexpected< E > && | geterr () && |
| constexpr const unexpected< E > && | geterr () const && |
| constexpr void | destroy_val () |
| Public Member Functions inherited from tl::detail::expected_storage_base< T, E, bool, bool > | |
| constexpr | expected_storage_base () |
| constexpr | expected_storage_base (no_init_t) |
| template<class... Args, detail::enable_if_t< std::is_constructible< T, Args &&... >::value > * = nullptr> | |
| constexpr | expected_storage_base (in_place_t, Args &&...args) |
| template<class U, class... Args, detail::enable_if_t< std::is_constructible< T, std::initializer_list< U > &, Args &&... >::value > * = nullptr> | |
| constexpr | expected_storage_base (in_place_t, std::initializer_list< U > il, Args &&...args) |
| template<class... Args, detail::enable_if_t< std::is_constructible< E, Args &&... >::value > * = nullptr> | |
| constexpr | expected_storage_base (unexpect_t, Args &&...args) |
| template<class U, class... Args, detail::enable_if_t< std::is_constructible< E, std::initializer_list< U > &, Args &&... >::value > * = nullptr> | |
| constexpr | expected_storage_base (unexpect_t, std::initializer_list< U > il, Args &&...args) |
| ~expected_storage_base () | |
Additional Inherited Members | |
| Public Attributes inherited from tl::detail::expected_storage_base< T, E, bool, bool > | |
| union { | |
| T m_val | |
| unexpected< E > m_unexpect | |
| char m_no_init | |
| }; | |
| bool | m_has_val |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineconstexpr |
References get(), and TL_EXPECTED_11_CONSTEXPR.
Referenced by assign_common(), tl::expected< Ret, err_t< Exp > >::operator=(), and tl::expected< Ret, err_t< Exp > >::operator=().
|
inlineconstexpr |
References tl::detail::expected_storage_base< T, E, bool, bool >::m_val, and TL_EXPECTED_11_CONSTEXPR.
Referenced by assign(), assign_common(), construct_with(), and destroy_val().
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |