Template Class AlignmentAllocator

Nested Relationships

Class Documentation

template<typename T, std::size_t N = 32>
class AlignmentAllocator

Public Types

typedef T value_type
typedef std::size_t size_type
typedef std::ptrdiff_t difference_type
typedef T *pointer
typedef const T *const_pointer
typedef T &reference
typedef const T &const_reference

Public Functions

inline AlignmentAllocator()
template<typename T2>
inline AlignmentAllocator(const AlignmentAllocator<T2, N>&)
inline ~AlignmentAllocator()
inline pointer adress(reference r)
inline const_pointer adress(const_reference r) const
inline pointer allocate(size_type n)
inline void deallocate(pointer p, size_type)
inline void construct(pointer p, const value_type &wert)
inline void destroy(pointer p)
inline size_type max_size() const
inline bool operator!=(const AlignmentAllocator<T, N> &other) const
inline bool operator==(const AlignmentAllocator<T, N> &other) const
template<typename T2>
struct rebind

Public Types

typedef AlignmentAllocator<T2, N> other