C++03 constructed union to hold value. More...
#include <optional.hpp>
Classes | |
struct | aligned_storage_t |
Public Types | |
typedef type_of_size< alignment_types, alignment_of< value_type >::value >::type | align_as_type |
typedef T | value_type |
Public Member Functions | |
storage_t () | |
storage_t (value_type const &v) | |
template<typename U > | |
U * | as () |
template<typename U > | |
U const * | as () const |
void | construct_value (value_type const &v) |
void | destruct_value () |
void * | ptr () |
void const * | ptr () const |
value_type const & | value () const |
value_type & | value () |
value_type const * | value_ptr () const |
value_type * | value_ptr () |
Public Attributes | |
aligned_storage_t | data |
C++03 constructed union to hold value.
Definition at line 589 of file optional.hpp.
typedef type_of_size< alignment_types, alignment_of< value_type >::value >::type nonstd::optional_lite::detail::storage_t< T >::align_as_type |
Definition at line 686 of file optional.hpp.
typedef T nonstd::optional_lite::detail::storage_t< T >::value_type |
Definition at line 594 of file optional.hpp.
|
inline |
Definition at line 596 of file optional.hpp.
|
inline |
Definition at line 598 of file optional.hpp.
|
inline |
Definition at line 706 of file optional.hpp.
|
inline |
Definition at line 712 of file optional.hpp.
|
inline |
Definition at line 603 of file optional.hpp.
|
inline |
Definition at line 634 of file optional.hpp.
|
inline |
Definition at line 695 of file optional.hpp.
|
inline |
Definition at line 700 of file optional.hpp.
|
inline |
Definition at line 649 of file optional.hpp.
|
inline |
Definition at line 654 of file optional.hpp.
|
inline |
Definition at line 639 of file optional.hpp.
|
inline |
Definition at line 644 of file optional.hpp.
aligned_storage_t nonstd::optional_lite::detail::storage_t< T >::data |
Definition at line 689 of file optional.hpp.