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

#include <optional.h>

List of all members.

Classes

struct  dummy_type

Protected Member Functions

 data_ (absl::forward< Args >(args)...)
void destruct () noexcept
constexpr optional_data_dtor_base () noexcept
 ~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 ( ) [inline, protected]

Definition at line 99 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 ( ) [inline, protected]

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


Member Function Documentation

template<typename T, bool unused = std::is_trivially_destructible<T>::value>
absl::optional_internal::optional_data_dtor_base< T, unused >::data_ ( absl::forward< Args >(args)  ...) [inline, protected]

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

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

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


Member Data Documentation

union { ... } [protected]
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:42:16