Template Struct optional_storage_base

Nested Relationships

Nested Types

Inheritance Relationships

Derived Type

Struct Documentation

template<class T, bool = ::std::is_trivially_destructible<T>::value>
struct optional_storage_base

Subclassed by tl::detail::optional_operations_base< T >

Public Functions

inline TL_OPTIONAL_11_CONSTEXPR optional_storage_base() noexcept
template<class ...U>
inline TL_OPTIONAL_11_CONSTEXPR optional_storage_base(in_place_t, U&&... u)
inline ~optional_storage_base()

Public Members

dummy m_dummy
T m_value
union tl::detail::optional_storage_base::[anonymous] [anonymous]
bool m_has_value
struct dummy