Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5. More...
#include <cache_aligned_allocator.h>
Classes | |
struct | rebind |
Public Member Functions | |
cache_aligned_allocator (const cache_aligned_allocator &) throw () | |
template<typename U > | |
cache_aligned_allocator (const cache_aligned_allocator< U > &) throw () | |
pointer | address (reference x) const |
const_pointer | address (const_reference x) const |
pointer | allocate (size_type n, const void *hint=0) |
Allocate space for n objects, starting on a cache/sector line. | |
void | deallocate (pointer p, size_type) |
Free block of memory that starts on a cache line. | |
size_type | max_size () const throw () |
Largest value for which method allocate might succeed. | |
template<typename U , typename... Args> | |
void | construct (U *p, Args &&...args) |
Copy-construct value at location pointed to by p. | |
void | construct (pointer p, const value_type &value) |
void | destroy (pointer p) |
Destroy value at location pointed to by p. | |
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5.
The members are ordered the same way they are in section 20.4.1 of the ISO C++ standard.