28 #ifndef PT_ALLOCATOR_H
29 #define PT_ALLOCATOR_H
98 return operator new(size);
Core module.
Definition: Allocator.h:33
virtual void * allocate(std::size_t size)
Allocates size bytes of memory.
Definition: Allocator.h:96
virtual ~Allocator()
Destructor.
Definition: Allocator.h:91
Allocator()
Default constructor.
Definition: Allocator.h:86
Allocator interface.
Definition: Allocator.h:82
virtual void deallocate(void *p, std::size_t)
Deallocates memory of size bytes.
Definition: Allocator.h:103