C++03 constructed union to hold value. More...
#include <ndn-cxx/util/nonstd/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 676 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 773 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.
|
inlineexplicit |
Definition at line 685 of file optional.hpp.
|
inline |
Definition at line 793 of file optional.hpp.
|
inline |
Definition at line 799 of file optional.hpp.
|
inline |
Definition at line 690 of file optional.hpp.
|
inline |
Definition at line 721 of file optional.hpp.
|
inline |
Definition at line 782 of file optional.hpp.
|
inline |
Definition at line 787 of file optional.hpp.
|
inline |
Definition at line 736 of file optional.hpp.
|
inline |
Definition at line 741 of file optional.hpp.
|
inline |
Definition at line 726 of file optional.hpp.
|
inline |
Definition at line 731 of file optional.hpp.
aligned_storage_t nonstd::optional_lite::detail::storage_t< T >::data |
Definition at line 776 of file optional.hpp.