Ada 2.9.2
Fast spec-compliant URL parser
|
#include <ada.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 | |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
Definition at line 2364 of file ada.h.
References m_has_val, and m_unexpect.
|
inlineexplicitconstexpr |
Definition at line 2370 of file ada.h.
References m_has_val, and m_unexpect.
|
inline |
Definition at line 2375 of file ada.h.
References m_has_val, m_unexpect, and m_val.
union { ... } tl::detail::expected_storage_base< T, E, bool, bool > |
bool tl::detail::expected_storage_base< T, E, bool, bool >::m_has_val |
Definition at line 2387 of file ada.h.
Referenced by tl::detail::expected_operations_base< T, E >::assign(), tl::detail::expected_operations_base< T, E >::assign(), tl::detail::expected_operations_base< T, E >::assign_common(), tl::detail::expected_operations_base< T, E >::construct(), tl::detail::expected_operations_base< T, E >::construct_error(), tl::detail::expected_operations_base< T, E >::construct_with(), tl::expected< result_type, ada::errors >::emplace(), tl::expected< result_type, ada::errors >::emplace(), expected_storage_base(), expected_storage_base(), expected_storage_base(), expected_storage_base(), expected_storage_base(), expected_storage_base(), tl::detail::expected_operations_base< T, E >::has_value(), tl::expected< result_type, ada::errors >::operator=(), tl::expected< result_type, ada::errors >::operator=(), tl::expected< result_type, ada::errors >::operator=(), and ~expected_storage_base().
char tl::detail::expected_storage_base< T, E, bool, bool >::m_no_init |
Definition at line 2385 of file ada.h.
Referenced by expected_storage_base().
unexpected<E> tl::detail::expected_storage_base< T, E, bool, bool >::m_unexpect |
Definition at line 2384 of file ada.h.
Referenced by tl::detail::expected_operations_base< T, E >::construct_error(), expected_storage_base(), expected_storage_base(), tl::detail::expected_operations_base< T, E >::geterr(), tl::detail::expected_operations_base< T, E >::geterr(), tl::detail::expected_operations_base< T, E >::geterr(), tl::detail::expected_operations_base< T, E >::geterr(), and ~expected_storage_base().
T tl::detail::expected_storage_base< T, E, bool, bool >::m_val |
Definition at line 2383 of file ada.h.
Referenced by tl::detail::expected_operations_base< T, E >::construct(), tl::detail::expected_operations_base< T, E >::construct_with(), expected_storage_base(), expected_storage_base(), expected_storage_base(), tl::detail::expected_operations_base< T, E >::get(), tl::detail::expected_operations_base< T, E >::get(), tl::detail::expected_operations_base< T, E >::get(), tl::detail::expected_operations_base< T, E >::get(), and ~expected_storage_base().