mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-15 05:05:58 +08:00
add aligned_allocator operator == and != as suggested by Hauke Heibel
This commit is contained in:
parent
0c99de5a17
commit
d78eb02627
@ -336,6 +336,12 @@ public:
|
|||||||
{
|
{
|
||||||
ei_aligned_free( p );
|
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
|
#endif // EIGEN_MEMORY_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user