Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::alignment::aligned_allocator< T, Alignment > Singleton Reference

#include <aligned_allocator_forward.hpp>

Classes

struct  rebind
 

Public Types

typedef T value_type
 
typedef Tpointer
 
typedef const Tconst_pointer
 
typedef void * void_pointer
 
typedef const void * const_void_pointer
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef Treference
 
typedef const Tconst_reference
 

Public Member Functions

 aligned_allocator () BOOST_NOEXCEPT=default
 
template<class U >
 aligned_allocator (const aligned_allocator< U, Alignment > &) BOOST_NOEXCEPT
 
pointer address (reference value) const BOOST_NOEXCEPT
 
const_pointer address (const_reference value) const BOOST_NOEXCEPT
 
pointer allocate (size_type size, const_void_pointer=0)
 
void deallocate (pointer ptr, size_type)
 
BOOST_CONSTEXPR size_type max_size () const BOOST_NOEXCEPT
 
template<class U , class... Args>
void construct (U *ptr, Args &&...args)
 
template<class U >
void construct (U *ptr)
 
template<class U >
void destroy (U *ptr)
 

Member Typedef Documentation

template<class T , std::size_t Alignment>
typedef const T* boost::alignment::aligned_allocator< T, Alignment >::const_pointer
template<class T , std::size_t Alignment>
typedef const T& boost::alignment::aligned_allocator< T, Alignment >::const_reference
template<class T , std::size_t Alignment>
typedef const void* boost::alignment::aligned_allocator< T, Alignment >::const_void_pointer
template<class T , std::size_t Alignment>
typedef std::ptrdiff_t boost::alignment::aligned_allocator< T, Alignment >::difference_type
template<class T , std::size_t Alignment>
typedef T* boost::alignment::aligned_allocator< T, Alignment >::pointer
template<class T , std::size_t Alignment>
typedef T& boost::alignment::aligned_allocator< T, Alignment >::reference
template<class T , std::size_t Alignment>
typedef std::size_t boost::alignment::aligned_allocator< T, Alignment >::size_type
template<class T , std::size_t Alignment>
typedef T boost::alignment::aligned_allocator< T, Alignment >::value_type
template<class T , std::size_t Alignment>
typedef void* boost::alignment::aligned_allocator< T, Alignment >::void_pointer

Constructor & Destructor Documentation

template<class T , std::size_t Alignment>
boost::alignment::aligned_allocator< T, Alignment >::aligned_allocator ( )
default
template<class T , std::size_t Alignment>
template<class U >
boost::alignment::aligned_allocator< T, Alignment >::aligned_allocator ( const aligned_allocator< U, Alignment > &  )
inline

Member Function Documentation

template<class T , std::size_t Alignment>
pointer boost::alignment::aligned_allocator< T, Alignment >::address ( reference  value) const
inline
template<class T , std::size_t Alignment>
const_pointer boost::alignment::aligned_allocator< T, Alignment >::address ( const_reference  value) const
inline
template<class T , std::size_t Alignment>
pointer boost::alignment::aligned_allocator< T, Alignment >::allocate ( size_type  size,
const_void_pointer  = 0 
)
inline
template<class T , std::size_t Alignment>
template<class U , class... Args>
void boost::alignment::aligned_allocator< T, Alignment >::construct ( U *  ptr,
Args &&...  args 
)
inline
template<class T , std::size_t Alignment>
template<class U >
void boost::alignment::aligned_allocator< T, Alignment >::construct ( U *  ptr)
inline

References boost::python::ptr().

template<class T , std::size_t Alignment>
void boost::alignment::aligned_allocator< T, Alignment >::deallocate ( pointer  ptr,
size_type   
)
inline
template<class T , std::size_t Alignment>
template<class U >
void boost::alignment::aligned_allocator< T, Alignment >::destroy ( U *  ptr)
inline

References boost::detail::void.

template<class T , std::size_t Alignment>
BOOST_CONSTEXPR size_type boost::alignment::aligned_allocator< T, Alignment >::max_size ( ) const
inline

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