Path Tracer
|
STL compatible allocator to use with types requiring a non standrad alignment. More...
#include <Memory.h>
Classes | |
struct | rebind |
Public Member Functions | |
aligned_allocator (const aligned_allocator &other) | |
template<class U > | |
aligned_allocator (const aligned_allocator< U > &other) | |
pointer | allocate (size_type num, const void *=0) |
void | deallocate (pointer p, size_type) |
STL compatible allocator to use with types requiring a non standrad alignment.
The memory is aligned as for dynamically aligned matrix/array types such as MatrixXd. By default, it will thus provide at least 16 bytes alignment and more in following cases:
This can be controlled using the EIGEN_MAX_ALIGN_BYTES
macro as documented there .
Example: