C++03 constructed union to hold value. More...
#include <optional.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 676 of file optional.hpp.
typedef T nonstd::optional_lite::detail::storage_t< T >::value_type |
Definition at line 681 of file optional.hpp.
|
inline |
Definition at line 683 of file optional.hpp.
|
inline |
Definition at line 690 of file optional.hpp.
Referenced by nonstd::optional_lite::detail::storage_t< value_type >::storage_t().
|
inline |
Definition at line 721 of file optional.hpp.
|
inline |
|
inline |
Definition at line 731 of file optional.hpp.
|
inline |
Definition at line 736 of file optional.hpp.
Referenced by nonstd::optional_lite::make_optional(), and nonstd::optional_lite::optional< T >::operator=().
|
inline |
Definition at line 741 of file optional.hpp.
typedef nonstd::optional_lite::detail::storage_t< T >::optional_ALIGN_AS | ( | value_type | ) |
|
inline |
Definition at line 782 of file optional.hpp.
Referenced by nonstd::optional_lite::detail::storage_t< value_type >::as().
|
inline |
Definition at line 787 of file optional.hpp.
|
inline |
Definition at line 793 of file optional.hpp.
|
inline |
Definition at line 799 of file optional.hpp.
aligned_storage_t nonstd::optional_lite::detail::storage_t< T >::data |
Definition at line 776 of file optional.hpp.
Referenced by nonstd::optional_lite::detail::storage_t< value_type >::ptr().