8#ifndef Sawyer_DefaultAllocator_H 
    9#define Sawyer_DefaultAllocator_H 
   12#include <Sawyer/Sawyer.h> 
   28        return ::operator 
new(size);
 
 
   38        ::operator 
delete(addr);
 
 
 
   59template<
class Allocator>
 
   61    Allocator &allocator_;
 
   74    void *
allocate(
size_t size) { 
return allocator_.allocate(size); }
 
   81    void deallocate(
void *addr, 
size_t size) { allocator_.deallocate(addr, size); }
 
 
void * allocate(size_t size)
Allocate memory.
 
void deallocate(void *addr, size_t size)
Deallocate memory.
 
void * allocate(size_t size)
Allocate memory.
 
void deallocate(void *addr, size_t size)
Deallocate memory.
 
ProxyAllocator(Allocator &allocator)
Constructor.