Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::aligned_storage< size_, alignment_ > Class Template Reference

#include <aligned_storage.hpp>

Inheritance diagram for boost::aligned_storage< size_, alignment_ >:
Collaboration diagram for boost::aligned_storage< size_, alignment_ >:

Public Types

typedef
::boost::detail::aligned_storage::aligned_storage_imp
< size_, alignment_ > 
type
 

Public Member Functions

 BOOST_STATIC_CONSTANT (std::size_t, size=size_)
 
 BOOST_STATIC_CONSTANT (std::size_t, alignment=(alignment_==std::size_t(-1)?::boost::detail::aligned_storage::alignment_of_max_align:alignment_))
 
 aligned_storage ()
 
 ~aligned_storage ()
 
void * address ()
 
const void * address () const
 

Private Attributes

union
boost::detail::aligned_storage::aligned_storage_imp::data_t 
data_
 

Member Typedef Documentation

template<std::size_t size_, std::size_t alignment_ = std::size_t(-1)>
typedef ::boost::detail::aligned_storage::aligned_storage_imp<size_, alignment_> boost::aligned_storage< size_, alignment_ >::type

Constructor & Destructor Documentation

template<std::size_t size_, std::size_t alignment_ = std::size_t(-1)>
boost::aligned_storage< size_, alignment_ >::aligned_storage ( )
inline
template<std::size_t size_, std::size_t alignment_ = std::size_t(-1)>
boost::aligned_storage< size_, alignment_ >::~aligned_storage ( )
inline

Member Function Documentation

template<std::size_t size_, std::size_t alignment_ = std::size_t(-1)>
void* boost::aligned_storage< size_, alignment_ >::address ( )
inline
template<std::size_t size_, std::size_t alignment_ = std::size_t(-1)>
const void* boost::aligned_storage< size_, alignment_ >::address ( ) const
inline
template<std::size_t size_, std::size_t alignment_ = std::size_t(-1)>
boost::aligned_storage< size_, alignment_ >::BOOST_STATIC_CONSTANT ( std::size_t  ,
size  = size_ 
)
template<std::size_t size_, std::size_t alignment_ = std::size_t(-1)>
boost::aligned_storage< size_, alignment_ >::BOOST_STATIC_CONSTANT ( std::size_t  ,
alignment  = (alignment_==std::size_t(-1)?::boost::detail::aligned_storage< size_, alignment_ >::alignment_of_max_align:alignment_) 
)

The documentation for this class was generated from the following file: