Template Struct expected_operations_base
Defined in File expected.hpp
Inheritance Relationships
Base Type
public tl::detail::expected_storage_base< T, E >(Template Struct expected_storage_base)
Derived Types
public tl::detail::expected_copy_base< T, E, bool >(Template Struct expected_copy_base)public tl::detail::expected_copy_base< T, E, false >(Template Struct expected_copy_base< T, E, false >)
Struct Documentation
-
template<class T, class E>
struct expected_operations_base : public tl::detail::expected_storage_base<T, E> Subclassed by tl::detail::expected_copy_base< T, E, bool >, tl::detail::expected_copy_base< T, E, false >
Public Functions
-
inline void assign(const expected_operations_base &rhs) noexcept
-
inline void assign(expected_operations_base &&rhs) noexcept
-
inline bool has_value() const
- inline TL_EXPECTED_11_CONSTEXPR T & get () &
- inline TL_EXPECTED_11_CONSTEXPR T && get () &&
- inline TL_EXPECTED_11_CONSTEXPR unexpected< E > & geterr () &
- inline TL_EXPECTED_11_CONSTEXPR unexpected< E > && geterr () &&
- inline TL_EXPECTED_11_CONSTEXPR void destroy_val ()
-
inline void assign(const expected_operations_base &rhs) noexcept