Template Struct expected_operations_base

Inheritance Relationships

Base Type

Derived Types

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

template<class ...Args>
inline void construct(Args&&... args) noexcept
template<class Rhs>
inline void construct_with(Rhs &&rhs) noexcept
template<class ...Args>
inline void construct_error(Args&&... args) noexcept
inline void assign(const expected_operations_base &rhs) noexcept
inline void assign(expected_operations_base &&rhs) noexcept
template<class Rhs>
inline void assign_common(Rhs &&rhs)
inline bool has_value() const
inline TL_EXPECTED_11_CONSTEXPR T & get () &
inline constexpr const T &get() const &
inline TL_EXPECTED_11_CONSTEXPR T && get () &&
inline constexpr const T &&get() const &&
inline TL_EXPECTED_11_CONSTEXPR unexpected< E > & geterr () &
inline constexpr const unexpected<E> &geterr() const &
inline TL_EXPECTED_11_CONSTEXPR unexpected< E > && geterr () &&
inline constexpr const unexpected<E> &&geterr() const &&
inline TL_EXPECTED_11_CONSTEXPR void destroy_val ()