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 ()=default |
Public Attributes | |
union tl::detail::expected_storage_base< T, E, true, true >:: { ... } | |
bool | m_has_val |
union { | |
T m_val | |
unexpected< E > m_unexpect | |
char m_no_init | |
}; |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
Definition at line 2412 of file ada.h.
References m_has_val, and m_unexpect.
|
inlineexplicitconstexpr |
Definition at line 2418 of file ada.h.
References m_has_val, and m_unexpect.
|
default |
union { ... } tl::detail::expected_storage_base< T, E, bool, bool > |
union tl::detail::expected_storage_base< T, E, true, true > { ... } tl::detail::expected_storage_base< T, E, true, true > |
bool tl::detail::expected_storage_base< T, E, true, true >::m_has_val |
Definition at line 2429 of file ada.h.
Referenced by expected_storage_base(), expected_storage_base(), expected_storage_base(), expected_storage_base(), expected_storage_base(), and expected_storage_base().
char tl::detail::expected_storage_base< T, E, true, true >::m_no_init |
Definition at line 2427 of file ada.h.
Referenced by expected_storage_base().
unexpected<E> tl::detail::expected_storage_base< T, E, true, true >::m_unexpect |
Definition at line 2426 of file ada.h.
Referenced by expected_storage_base(), and expected_storage_base().
T tl::detail::expected_storage_base< T, E, true, true >::m_val |
Definition at line 2425 of file ada.h.
Referenced by expected_storage_base(), expected_storage_base(), and expected_storage_base().