#include <cstddef>
#include <memory>
#include <new>
#include "gromacs/utility/basedefinitions.h"
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.
- Author
- Erik Lindahl erik..nosp@m.lind.nosp@m.ahl@g.nosp@m.mail.nosp@m..com
-
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m
|
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.
|
|