Protected Types | Protected Member Functions | List of all members
absl::optional_internal::optional_data_base< T > Class Template Reference

#include <optional.h>

Inheritance diagram for absl::optional_internal::optional_data_base< T >:
Inheritance graph
[legend]

Protected Types

using base = optional_data_dtor_base< T >
 

Protected Member Functions

template<typename U >
void assign (U &&u)
 
template<typename... Args>
void construct (Args &&...args)
 
 optional_data_base ()=default
 
template<typename... Args>
constexpr optional_data_base (in_place_t t, Args &&...args)
 
- Protected Member Functions inherited from absl::optional_internal::optional_data_dtor_base< T >
void destruct () noexcept
 
constexpr optional_data_dtor_base () noexcept
 
constexpr optional_data_dtor_base (in_place_t, Args &&...args)
 
 ~optional_data_dtor_base ()
 

Additional Inherited Members

- Public Attributes inherited from absl::optional_internal::optional_data_dtor_base< T >
data_
 
dummy_type dummy_
 
- Protected Attributes inherited from absl::optional_internal::optional_data_dtor_base< T >
union {
   T   data_
 
   dummy_type   dummy_
 
}; 
 
bool engaged_
 

Detailed Description

template<typename T>
class absl::optional_internal::optional_data_base< T >

Definition at line 136 of file internal/optional.h.

Member Typedef Documentation

template<typename T >
using absl::optional_internal::optional_data_base< T >::base = optional_data_dtor_base<T>
protected

Definition at line 138 of file internal/optional.h.

Constructor & Destructor Documentation

template<typename T >
absl::optional_internal::optional_data_base< T >::optional_data_base ( )
protecteddefault
template<typename T >
template<typename... Args>
constexpr absl::optional_internal::optional_data_base< T >::optional_data_base ( in_place_t  t,
Args &&...  args 
)
inlineexplicitprotected

Definition at line 145 of file internal/optional.h.

Member Function Documentation

template<typename T >
template<typename U >
void absl::optional_internal::optional_data_base< T >::assign ( U &&  u)
inlineprotected

Definition at line 157 of file internal/optional.h.

template<typename T >
template<typename... Args>
void absl::optional_internal::optional_data_base< T >::construct ( Args &&...  args)
inlineprotected

Definition at line 150 of file internal/optional.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:19:59