momemta::gtl::internal_optional::optional_data< T > Class Template Reference

Detailed Description

template<typename T>
class momemta::gtl::internal_optional::optional_data< T >

Definition at line 175 of file optional.h.

Inheritance diagram for momemta::gtl::internal_optional::optional_data< T >:

Protected Types

using base = optional_data_dtor_base< T >
 

Protected Member Functions

T * pointer ()
 
constexpr const T * pointer () const
 
template<typename... Args>
void construct (Args &&... args)
 
template<typename U >
void assign (U &&u)
 
 optional_data (const optional_data &rhs)
 
 optional_data (optional_data &&rhs) noexcept(std::is_nothrow_move_constructible< T >::value)
 
optional_dataoperator= (const optional_data &rhs)
 
optional_dataoperator= (optional_data &&rhs) noexcept(std::is_nothrow_move_assignable< T >::value &&std::is_nothrow_move_constructible< T >::value)
 
- Protected Member Functions inherited from momemta::gtl::internal_optional::optional_data_dtor_base< T >
void destruct () noexcept
 
constexpr optional_data_dtor_base (in_place_t, Args &&... args)
 

Additional Inherited Members

- Public Attributes inherited from momemta::gtl::internal_optional::optional_data_dtor_base< T >
empty_struct dummy_
 
data_
 
- Protected Attributes inherited from momemta::gtl::internal_optional::optional_data_dtor_base< T >
bool engaged_
 
union {
   empty_struct   dummy_
 
   T   data_
 
}; 
 

The documentation for this class was generated from the following file: