#include <optional.h>
Protected Member Functions | |
optional_data & | operator= (const optional_data &rhs) |
optional_data & | operator= (optional_data &&rhs) noexcept(std::is_nothrow_move_assignable< T >::value &&std::is_nothrow_move_constructible< T >::value) |
template<typename... Args> | |
constexpr | optional_data (in_place_t t, Args &&...args) |
optional_data ()=default | |
optional_data (const optional_data &rhs) | |
optional_data (optional_data &&rhs) noexcept(absl::default_allocator_is_nothrow::value||std::is_nothrow_move_constructible< T >::value) | |
Protected Member Functions inherited from absl::optional_internal::optional_data_base< T > | |
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 > | |
T | data_ |
dummy_type | dummy_ |
Protected Types inherited from absl::optional_internal::optional_data_base< T > | |
using | base = optional_data_dtor_base< T > |
Protected Attributes inherited from absl::optional_internal::optional_data_dtor_base< T > | |
union { | |
T data_ | |
dummy_type dummy_ | |
}; | |
bool | engaged_ |
Definition at line 194 of file internal/optional.h.
|
inlineexplicitprotected |
Definition at line 200 of file internal/optional.h.
|
protecteddefault |
|
inlineprotected |
Definition at line 206 of file internal/optional.h.
|
inlineprotectednoexcept |
Definition at line 212 of file internal/optional.h.
|
inlineprotected |
Definition at line 221 of file internal/optional.h.
|
inlineprotectednoexcept |
Definition at line 230 of file internal/optional.h.