Gromacs
2025.1
|
Declares gmx::Allocator template whose allocation functionality is configured both by type of object allocated and a policy class that configures the necessary matching malloc and free operation.
Functions | |
template<class T1 , class Policy1 , class T2 , class Policy2 > | |
bool | gmx::operator== (const Allocator< T1, Policy1 > &a, const Allocator< T2, Policy2 > &b) |
Return true if two allocators are identical. More... | |
template<class T1 , class Policy1 , class T2 , class Policy2 > | |
bool | gmx::operator!= (const Allocator< T1, Policy1 > &a, const Allocator< T2, Policy2 > &b) |
Return true if two allocators are different. | |