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 () | |
| storage_t (value_type const &v) | |
| void | construct_value (value_type const &v) |
| void | destruct_value () |
| value_type const * | value_ptr () const |
| value_type * | value_ptr () |
| value_type const & | value () const optional_ref_qual |
| value_type & | value () optional_ref_qual |
| typedef | optional_ALIGN_AS (value_type) align_as_type |
| void * | ptr () optional_noexcept |
| void const * | ptr () const optional_noexcept |
| template<typename U > | |
| U * | as () |
| template<typename U > | |
| U const * | as () const |
Public Attributes | |
| aligned_storage_t | data |
C++03 constructed union to hold value.
Definition at line 577 of file optional.hpp.
| typedef T nonstd::optional_lite::detail::storage_t< T >::value_type |
Definition at line 582 of file optional.hpp.
|
inline |
Definition at line 584 of file optional.hpp.
|
inline |
Definition at line 586 of file optional.hpp.
|
inline |
Definition at line 591 of file optional.hpp.
Referenced by nonstd::optional_lite::detail::storage_t< value_type >::storage_t().
|
inline |
Definition at line 622 of file optional.hpp.
|
inline |
|
inline |
Definition at line 632 of file optional.hpp.
|
inline |
Definition at line 637 of file optional.hpp.
Referenced by nonstd::optional_lite::make_optional(), and nonstd::optional_lite::optional< T >::operator=().
|
inline |
Definition at line 642 of file optional.hpp.
| typedef nonstd::optional_lite::detail::storage_t< T >::optional_ALIGN_AS | ( | value_type | ) |
|
inline |
Definition at line 683 of file optional.hpp.
Referenced by nonstd::optional_lite::detail::storage_t< value_type >::as().
|
inline |
Definition at line 688 of file optional.hpp.
|
inline |
Definition at line 694 of file optional.hpp.
|
inline |
Definition at line 700 of file optional.hpp.
| aligned_storage_t nonstd::optional_lite::detail::storage_t< T >::data |
Definition at line 677 of file optional.hpp.
Referenced by nonstd::optional_lite::detail::storage_t< value_type >::ptr().