LibreOffice Module sc (master) 1
|
Custom allocator for STL container to ensure that the base address of allocated storage is aligned to a specified boundary. More...
#include <stlalgorithm.hxx>
Classes | |
struct | rebind |
Public Types | |
typedef T | value_type |
typedef size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef T * | void_pointer |
typedef T & | reference |
typedef const T & | const_reference |
Public Member Functions | |
AlignedAllocator () | |
template<typename Type2 > | |
AlignedAllocator (const AlignedAllocator< Type2, Alignment > &) | |
bool | operator== (const AlignedAllocator &) const |
bool | operator!= (const AlignedAllocator &) const |
Static Public Member Functions | |
static void | construct (T *p, const value_type &val) |
static void | destroy (T *p) |
static size_type | max_size () |
static pointer | allocate (size_type n) |
static void | deallocate (pointer p, size_type) |
Custom allocator for STL container to ensure that the base address of allocated storage is aligned to a specified boundary.
Definition at line 23 of file stlalgorithm.hxx.
typedef const T* sc::AlignedAllocator< T, Alignment >::const_pointer |
Definition at line 31 of file stlalgorithm.hxx.
typedef const T& sc::AlignedAllocator< T, Alignment >::const_reference |
Definition at line 35 of file stlalgorithm.hxx.
typedef std::ptrdiff_t sc::AlignedAllocator< T, Alignment >::difference_type |
Definition at line 28 of file stlalgorithm.hxx.
typedef T* sc::AlignedAllocator< T, Alignment >::pointer |
Definition at line 30 of file stlalgorithm.hxx.
typedef T& sc::AlignedAllocator< T, Alignment >::reference |
Definition at line 34 of file stlalgorithm.hxx.
typedef size_t sc::AlignedAllocator< T, Alignment >::size_type |
Definition at line 27 of file stlalgorithm.hxx.
typedef T sc::AlignedAllocator< T, Alignment >::value_type |
Definition at line 26 of file stlalgorithm.hxx.
typedef T* sc::AlignedAllocator< T, Alignment >::void_pointer |
Definition at line 32 of file stlalgorithm.hxx.
|
inline |
Definition at line 43 of file stlalgorithm.hxx.
|
inline |
Definition at line 46 of file stlalgorithm.hxx.
|
inlinestatic |
Definition at line 63 of file stlalgorithm.hxx.
References n.
|
inlinestatic |
Definition at line 48 of file stlalgorithm.hxx.
References p.
|
inlinestatic |
Definition at line 68 of file stlalgorithm.hxx.
References p.
|
inlinestatic |
Definition at line 49 of file stlalgorithm.hxx.
References p.
|
inlinestatic |
Definition at line 55 of file stlalgorithm.hxx.
|
inline |
Definition at line 61 of file stlalgorithm.hxx.
|
inline |
Definition at line 60 of file stlalgorithm.hxx.