C++03 constructed union to hold value. More...
#include <optional-lite.hpp>
Classes | |
struct | aligned_storage_t |
Public Types | |
typedef T | value_type |
Public Member Functions | |
storage_t () optional_is_default explicit storage_t(value_type const &v) | |
void | construct_value (value_type const &v) |
void | destruct_value () |
optional_nodiscard value_type const * | value_ptr () const |
value_type * | value_ptr () |
optional_nodiscard value_type const & | value () const optional_ref_qual |
value_type & | value () optional_ref_qual |
typedef | optional_ALIGN_AS (value_type) align_as_type |
optional_nodiscard void * | ptr () optional_noexcept |
optional_nodiscard void const * | ptr () const optional_noexcept |
template<typename U > | |
optional_nodiscard U * | as () |
template<typename U > | |
optional_nodiscard U const * | as () const |
Public Attributes | |
aligned_storage_t | data |
C++03 constructed union to hold value.
Definition at line 757 of file optional-lite.hpp.
typedef T nonstd::optional_lite::detail::storage_t< T >::value_type |
Definition at line 762 of file optional-lite.hpp.
|
inline |
Definition at line 764 of file optional-lite.hpp.
|
inline |
Definition at line 771 of file optional-lite.hpp.
|
inline |
Definition at line 808 of file optional-lite.hpp.
|
inline |
Definition at line 813 of file optional-lite.hpp.
|
inline |
Definition at line 818 of file optional-lite.hpp.
|
inline |
Definition at line 823 of file optional-lite.hpp.
Referenced by nonstd::optional_lite::optional< T >::optional().
|
inline |
Definition at line 828 of file optional-lite.hpp.
typedef nonstd::optional_lite::detail::storage_t< T >::optional_ALIGN_AS | ( | value_type | ) |
|
inline |
Definition at line 869 of file optional-lite.hpp.
|
inline |
Definition at line 874 of file optional-lite.hpp.
|
inline |
Definition at line 880 of file optional-lite.hpp.
|
inline |
Definition at line 886 of file optional-lite.hpp.
aligned_storage_t nonstd::optional_lite::detail::storage_t< T >::data |
Definition at line 863 of file optional-lite.hpp.