Ada 2.9.2
Fast spec-compliant URL parser
|
#include <ada.h>
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 |
TL_EXPECTED_11_CONSTEXPR T & | get () & |
constexpr const T & | get () const & |
TL_EXPECTED_11_CONSTEXPR T && | get () && |
constexpr const T && | get () const && |
TL_EXPECTED_11_CONSTEXPR unexpected< E > & | geterr () & |
constexpr const unexpected< E > & | geterr () const & |
TL_EXPECTED_11_CONSTEXPR unexpected< E > && | geterr () && |
constexpr const unexpected< E > && | geterr () const && |
TL_EXPECTED_11_CONSTEXPR void | destroy_val () |
![]() | |
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 | ||
![]() | ||
union { | ||
T m_val | ||
unexpected< E > m_unexpect | ||
char m_no_init | ||
}; | ||
bool | m_has_val | |
|
inlinenoexcept |
Definition at line 2724 of file ada.h.
References assign_common(), construct(), geterr(), and tl::detail::expected_storage_base< T, E, bool, bool >::m_has_val.
Referenced by tl::detail::expected_copy_assign_base< T, E, false >::operator=(), and tl::detail::expected_move_assign_base< T, E, false >::operator=().
|
inlinenoexcept |
Definition at line 2733 of file ada.h.
References assign_common(), construct(), get(), geterr(), and tl::detail::expected_storage_base< T, E, bool, bool >::m_has_val.
|
inline |
Definition at line 2746 of file ada.h.
References construct_error(), destroy_val(), get(), geterr(), and tl::detail::expected_storage_base< T, E, bool, bool >::m_has_val.
|
inlinenoexcept |
Definition at line 2603 of file ada.h.
References tl::detail::expected_storage_base< T, E, bool, bool >::m_has_val, and tl::detail::expected_storage_base< T, E, bool, bool >::m_val.
|
inlinenoexcept |
Definition at line 2615 of file ada.h.
References tl::detail::expected_storage_base< T, E, bool, bool >::m_has_val, and tl::detail::expected_storage_base< T, E, bool, bool >::m_unexpect.
Referenced by assign_common().
|
inlinenoexcept |
Definition at line 2609 of file ada.h.
References get(), tl::detail::expected_storage_base< T, E, bool, bool >::m_has_val, and tl::detail::expected_storage_base< T, E, bool, bool >::m_val.
|
inline |
Definition at line 2783 of file ada.h.
References get(), and TL_EXPECTED_11_CONSTEXPR.
Referenced by assign_common(), tl::expected< result_type, ada::errors >::operator=(), and tl::expected< result_type, ada::errors >::operator=().
|
inline |
Definition at line 2763 of file ada.h.
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().
|
inline |
Definition at line 2765 of file ada.h.
References tl::detail::expected_storage_base< T, E, bool, bool >::m_val, and TL_EXPECTED_11_CONSTEXPR.
|
inlineconstexpr |
Definition at line 2764 of file ada.h.
References tl::detail::expected_storage_base< T, E, bool, bool >::m_val.
|
inlineconstexpr |
Definition at line 2767 of file ada.h.
References tl::detail::expected_storage_base< T, E, bool, bool >::m_val.
|
inline |
Definition at line 2770 of file ada.h.
References tl::detail::expected_storage_base< T, E, bool, bool >::m_unexpect, and TL_EXPECTED_11_CONSTEXPR.
Referenced by assign(), assign(), and assign_common().
|
inline |
Definition at line 2774 of file ada.h.
References tl::detail::expected_storage_base< T, E, bool, bool >::m_unexpect, and TL_EXPECTED_11_CONSTEXPR.
|
inlineconstexpr |
Definition at line 2773 of file ada.h.
References tl::detail::expected_storage_base< T, E, bool, bool >::m_unexpect.
|
inlineconstexpr |
Definition at line 2778 of file ada.h.
References tl::detail::expected_storage_base< T, E, bool, bool >::m_unexpect.
|
inline |
Definition at line 2761 of file ada.h.
References tl::detail::expected_storage_base< T, E, bool, bool >::m_has_val.
Referenced by tl::detail::expected_copy_base< T, E, false >::expected_copy_base().