Template Struct expected_storage_base
Defined in File expected.hpp
Inheritance Relationships
Derived Type
public tl::detail::expected_operations_base< T, E >(Template Struct expected_operations_base)
Struct Documentation
-
template<class T, class E, bool = std::is_trivially_destructible<T>::value, bool = std::is_trivially_destructible<E>::value>
struct expected_storage_base Subclassed by tl::detail::expected_operations_base< T, E >
Public Functions
-
inline constexpr expected_storage_base()
-
template<class ...Args, detail::enable_if_t<std::is_constructible<T, Args&&...>::value>* = nullptr>
inline 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>
inline 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>
inline explicit 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>
inline explicit constexpr expected_storage_base(unexpect_t, std::initializer_list<U> il, Args&&... args)
-
inline ~expected_storage_base()
-
inline constexpr expected_storage_base()