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_adaptor< Allocator, Alignment > Singleton Reference

#include <aligned_allocator_adaptor_forward.hpp>

Inheritance diagram for boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >:
Collaboration diagram for boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >:

Classes

struct  rebind
 

Public Types

typedef Traits::value_type value_type
 
typedef Traits::size_type size_type
 
typedef value_typepointer
 
typedef const value_typeconst_pointer
 
typedef void * void_pointer
 
typedef const void * const_void_pointer
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 aligned_allocator_adaptor ()=default
 
template<class A >
 aligned_allocator_adaptor (A &&alloc) BOOST_NOEXCEPT
 
template<class U >
 aligned_allocator_adaptor (const aligned_allocator_adaptor< U, Alignment > &other) BOOST_NOEXCEPT
 
Allocator & base () BOOST_NOEXCEPT
 
const Allocator & base () const BOOST_NOEXCEPT
 
pointer allocate (size_type size)
 
pointer allocate (size_type size, const_void_pointer hint)
 
void deallocate (pointer ptr, size_type size)
 

Member Typedef Documentation

template<class Allocator, std::size_t Alignment>
typedef const value_type* boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::const_pointer
template<class Allocator, std::size_t Alignment>
typedef const void* boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::const_void_pointer
template<class Allocator, std::size_t Alignment>
typedef std::ptrdiff_t boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::difference_type
template<class Allocator, std::size_t Alignment>
typedef value_type* boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::pointer
template<class Allocator, std::size_t Alignment>
typedef Traits::size_type boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::size_type
template<class Allocator, std::size_t Alignment>
typedef Traits::value_type boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::value_type
template<class Allocator, std::size_t Alignment>
typedef void* boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::void_pointer

Constructor & Destructor Documentation

template<class Allocator, std::size_t Alignment>
boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::aligned_allocator_adaptor ( )
default
template<class Allocator, std::size_t Alignment>
template<class A >
boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::aligned_allocator_adaptor ( A &&  alloc)
inlineexplicit
template<class Allocator, std::size_t Alignment>
template<class U >
boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::aligned_allocator_adaptor ( const aligned_allocator_adaptor< U, Alignment > &  other)
inline

Member Function Documentation

template<class Allocator, std::size_t Alignment>
const Allocator& boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::base ( ) const
inline
template<class Allocator, std::size_t Alignment>
void boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::deallocate ( pointer  ptr,
size_type  size 
)
inline

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