* Added aligned_allocator for using 16-byte aligned types with STL containers. There is still a compile-time problem with STL containers that have a standard-conformant resize() method, but this should resolve the original user issue which was storing aligned objects in a std::map.

This commit is contained in:
Kenneth Frank Riddile
2009-01-09 00:55:53 +00:00
parent 003d0ce03e
commit f52a9e5315
2 changed files with 111 additions and 24 deletions

View File

@@ -57,6 +57,7 @@
#include <iostream>
#include <cstring>
#include <string>
#include <limits>
#if defined(EIGEN_SSE2_ON_MSVC_2008_OR_LATER) && defined(EIGEN_VECTORIZE)
#include <malloc.h> // for _aligned_malloc