Template Struct optional_operations_base

Inheritance Relationships

Base Type

Derived Types

Struct Documentation

template<class T>
struct optional_operations_base : public tl::detail::optional_storage_base<T>

Subclassed by tl::detail::optional_copy_base< T, bool >, tl::detail::optional_copy_base< T, false >

Public Functions

inline void hard_reset() noexcept
template<class ...Args>
inline void construct(Args&&... args)
template<class Opt>
inline void assign(Opt &&rhs)
inline bool has_value() const
inline TL_OPTIONAL_11_CONSTEXPR T & get () &
inline TL_OPTIONAL_11_CONSTEXPR const T & get () const &
inline TL_OPTIONAL_11_CONSTEXPR T && get () &&
inline constexpr const T &&get() const &&