add aligned_allocator operator == and != as suggested by Hauke Heibel

This commit is contained in:
Gael Guennebaud 2009-04-09 21:22:02 +00:00
parent 0c99de5a17
commit d78eb02627

View File

@ -336,6 +336,12 @@ public:
{
ei_aligned_free( p );
}
bool operator!=(const aligned_allocator<T>& other) const
{ return false; }
bool operator==(const aligned_allocator<T>& other) const
{ return true; }
};
#endif // EIGEN_MEMORY_H