![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qexpected_p.h>
Public Member Functions | |
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 () |
Public Attributes | |
union { | |
T m_val | |
unexpected< E > m_unexpect | |
char m_no_init | |
}; | |
bool | m_has_val |
Definition at line 484 of file qexpected_p.h.
|
inlineconstexpr |
Definition at line 485 of file qexpected_p.h.
References m_val.
|
inlineconstexpr |
Definition at line 486 of file qexpected_p.h.
|
inlineconstexpr |
Definition at line 491 of file qexpected_p.h.
|
inlineconstexpr |
Definition at line 497 of file qexpected_p.h.
|
inlineexplicitconstexpr |
Definition at line 503 of file qexpected_p.h.
References q23::in_place, m_has_val, and m_unexpect.
|
inlineexplicitconstexpr |
Definition at line 509 of file qexpected_p.h.
References q23::in_place, m_has_val, and m_unexpect.
|
inline |
Definition at line 514 of file qexpected_p.h.
References m_has_val.
union { ... } q23::detail::expected_storage_base< T, E, bool, bool > |
bool q23::detail::expected_storage_base< T, E, bool, bool >::m_has_val |
Definition at line 526 of file qexpected_p.h.
Referenced by expected_storage_base(), expected_storage_base(), expected_storage_base(), expected_storage_base(), expected_storage_base(), and ~expected_storage_base().
char q23::detail::expected_storage_base< T, E, bool, bool >::m_no_init |
Definition at line 524 of file qexpected_p.h.
Referenced by expected_storage_base().
unexpected<E> q23::detail::expected_storage_base< T, E, bool, bool >::m_unexpect |
Definition at line 523 of file qexpected_p.h.
Referenced by expected_storage_base(), and expected_storage_base().
T q23::detail::expected_storage_base< T, E, bool, bool >::m_val |
Definition at line 522 of file qexpected_p.h.
Referenced by expected_storage_base(), expected_storage_base(), and expected_storage_base().