mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +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 );
|
||||
}
|
||||
|
||||
bool operator!=(const aligned_allocator<T>& other) const
|
||||
{ return false; }
|
||||
|
||||
bool operator==(const aligned_allocator<T>& other) const
|
||||
{ return true; }
|
||||
};
|
||||
|
||||
#endif // EIGEN_MEMORY_H
|
||||
|
Loading…
Reference in New Issue
Block a user