![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Namespaces | |
namespace | _detail |
namespace | detail |
Classes | |
class | bad_expected_access |
class | expected |
struct | in_place_t |
struct | is_scoped_enum |
struct | is_scoped_enum< T, false > |
class | monostate |
struct | unexpect_t |
class | unexpected |
Functions | |
template<typename R, typename F, typename... Args> | |
constexpr std::enable_if_t< std::is_invocable_r_v< R, F, Args... >, R > | invoke_r (F &&f, Args &&... args) noexcept(std::is_nothrow_invocable_r_v< R, F, Args... >) |
template<class T, class U> | |
constexpr auto | forward_like (U &&x) noexcept -> _detail::forward_like_ret_t< T, U > |
template<class E> | |
constexpr bool | operator== (const unexpected< E > &lhs, const unexpected< E > &rhs) |
template<class E> | |
constexpr bool | operator!= (const unexpected< E > &lhs, const unexpected< E > &rhs) |
template<class E> | |
constexpr bool | operator< (const unexpected< E > &lhs, const unexpected< E > &rhs) |
template<class E> | |
constexpr bool | operator<= (const unexpected< E > &lhs, const unexpected< E > &rhs) |
template<class E> | |
constexpr bool | operator> (const unexpected< E > &lhs, const unexpected< E > &rhs) |
template<class E> | |
constexpr bool | operator>= (const unexpected< E > &lhs, const unexpected< E > &rhs) |
template<class E> | |
unexpected< typename std::decay< E >::type > | make_unexpected (E &&e) |
template<class T, class E, class U, class F> | |
constexpr bool | operator== (const expected< T, E > &lhs, const expected< U, F > &rhs) |
template<class T, class E, class U, class F> | |
constexpr bool | operator!= (const expected< T, E > &lhs, const expected< U, F > &rhs) |
template<class E, class F> | |
constexpr bool | operator== (const expected< void, E > &lhs, const expected< void, F > &rhs) |
template<class E, class F> | |
constexpr bool | operator!= (const expected< void, E > &lhs, const expected< void, F > &rhs) |
template<class T, class E, class U> | |
constexpr bool | operator== (const expected< T, E > &x, const U &v) |
template<class T, class E, class U> | |
constexpr bool | operator== (const U &v, const expected< T, E > &x) |
template<class T, class E, class U> | |
constexpr bool | operator!= (const expected< T, E > &x, const U &v) |
template<class T, class E, class U> | |
constexpr bool | operator!= (const U &v, const expected< T, E > &x) |
template<class T, class E> | |
constexpr bool | operator== (const expected< T, E > &x, const unexpected< E > &e) |
template<class T, class E> | |
constexpr bool | operator== (const unexpected< E > &e, const expected< T, E > &x) |
template<class T, class E> | |
constexpr bool | operator!= (const expected< T, E > &x, const unexpected< E > &e) |
template<class T, class E> | |
constexpr bool | operator!= (const unexpected< E > &e, const expected< T, E > &x) |
template<class T, class E, detail::enable_if_t<(std::is_void< T >::value||std::is_move_constructible< T >::value) &&detail::is_swappable< T >::value &&std::is_move_constructible< E >::value &&detail::is_swappable< E >::value > * = nullptr> | |
void | swap (expected< T, E > &lhs, expected< T, E > &rhs) noexcept(noexcept(lhs.swap(rhs))) |
Variables | |
template<typename E> | |
constexpr bool | is_scoped_enum_v = is_scoped_enum<E>::value |
static constexpr in_place_t | in_place {} |
static constexpr unexpect_t | unexpect {} |
|
nodiscardconstexprnoexcept |
Definition at line 64 of file q23utility.h.
|
constexprnoexcept |
Definition at line 35 of file q23functional.h.
unexpected< typename std::decay< E >::type > q23::make_unexpected | ( | E && | e | ) |
Definition at line 237 of file qexpected_p.h.
Definition at line 2440 of file qexpected_p.h.
|
constexpr |
Definition at line 2470 of file qexpected_p.h.
|
constexpr |
Definition at line 2487 of file qexpected_p.h.
Definition at line 2454 of file qexpected_p.h.
|
constexpr |
Definition at line 2474 of file qexpected_p.h.
|
constexpr |
Definition at line 2491 of file qexpected_p.h.
|
constexpr |
Definition at line 216 of file qexpected_p.h.
|
constexpr |
Definition at line 220 of file qexpected_p.h.
|
constexpr |
Definition at line 224 of file qexpected_p.h.
Definition at line 2433 of file qexpected_p.h.
|
constexpr |
Definition at line 2462 of file qexpected_p.h.
|
constexpr |
Definition at line 2479 of file qexpected_p.h.
Definition at line 2447 of file qexpected_p.h.
|
constexpr |
Definition at line 2466 of file qexpected_p.h.
|
constexpr |
Definition at line 2483 of file qexpected_p.h.
|
constexpr |
Definition at line 212 of file qexpected_p.h.
|
constexpr |
Definition at line 228 of file qexpected_p.h.
|
constexpr |
Definition at line 232 of file qexpected_p.h.
|
noexcept |
Definition at line 2501 of file qexpected_p.h.
|
staticconstexpr |
Definition at line 173 of file qexpected_p.h.
Referenced by q23::expected< std::shared_ptr< MediaDataHolder >, ContextError >::expected(), q23::detail::expected_storage_base< T, E, bool, bool >::expected_storage_base(), q23::detail::expected_storage_base< T, E, bool, bool >::expected_storage_base(), q23::detail::expected_storage_base< T, E, false, true >::expected_storage_base(), q23::detail::expected_storage_base< T, E, false, true >::expected_storage_base(), q23::detail::expected_storage_base< T, E, true, false >::expected_storage_base(), q23::detail::expected_storage_base< T, E, true, false >::expected_storage_base(), q23::detail::expected_storage_base< T, E, true, true >::expected_storage_base(), q23::detail::expected_storage_base< T, E, true, true >::expected_storage_base(), q23::detail::expected_storage_base< void, E, false, false >::expected_storage_base(), q23::detail::expected_storage_base< void, E, false, false >::expected_storage_base(), q23::detail::expected_storage_base< void, E, false, true >::expected_storage_base(), and q23::detail::expected_storage_base< void, E, false, true >::expected_storage_base().
|
inlineconstexpr |
Definition at line 42 of file q23type_traits.h.
|
staticconstexpr |
Definition at line 244 of file qexpected_p.h.