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