Gromacs  2024.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
allocator.h File Reference
#include <cstddef>
#include <memory>
#include <new>
#include "gromacs/utility/basedefinitions.h"
+ Include dependency graph for allocator.h:
+ This graph shows which files directly or indirectly include this file:

Description

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

Classes

class  gmx::Allocator< T, AllocationPolicy >
 Policy-based memory allocator. More...