Classes | Protected Member Functions | Protected Attributes | List of all members
absl::optional_internal::optional_data_dtor_base< T, unused > Class Template Reference

#include <optional.h>

Classes

struct  dummy_type
 

Protected Member Functions

void destruct () noexcept
 
constexpr optional_data_dtor_base () noexcept
 
template<typename... Args>
constexpr optional_data_dtor_base (in_place_t, Args &&...args)
 
 ~optional_data_dtor_base ()
 

Protected Attributes

union {
   T   data_
 
   dummy_type   dummy_
 
}; 
 
bool engaged_
 

Detailed Description

template<typename T, bool unused = std::is_trivially_destructible<T>::value>
class absl::optional_internal::optional_data_dtor_base< T, unused >

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

Constructor & Destructor Documentation

template<typename T, bool unused = std::is_trivially_destructible<T>::value>
constexpr absl::optional_internal::optional_data_dtor_base< T, unused >::optional_data_dtor_base ( )
inlineprotectednoexcept

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

template<typename T, bool unused = std::is_trivially_destructible<T>::value>
template<typename... Args>
constexpr absl::optional_internal::optional_data_dtor_base< T, unused >::optional_data_dtor_base ( in_place_t  ,
Args &&...  args 
)
inlineexplicitprotected

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

template<typename T, bool unused = std::is_trivially_destructible<T>::value>
absl::optional_internal::optional_data_dtor_base< T, unused >::~optional_data_dtor_base ( )
inlineprotected

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

Member Function Documentation

template<typename T, bool unused = std::is_trivially_destructible<T>::value>
void absl::optional_internal::optional_data_dtor_base< T, unused >::destruct ( )
inlineprotectednoexcept

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

Member Data Documentation

union { ... }
template<typename T, bool unused = std::is_trivially_destructible<T>::value>
T absl::optional_internal::optional_data_dtor_base< T, unused >::data_

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

template<typename T, bool unused = std::is_trivially_destructible<T>::value>
dummy_type absl::optional_internal::optional_data_dtor_base< T, unused >::dummy_

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

template<typename T, bool unused = std::is_trivially_destructible<T>::value>
bool absl::optional_internal::optional_data_dtor_base< T, unused >::engaged_
protected

Definition at line 84 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