mallocAllocator.hh

00001 //********************************************************************
00002 //*** mm/mallocAllocator.hh
00003 //*** Copyright (c) 2002 by Markus Winand <mws@fatalmind.com>
00004 //*** $Id: mallocAllocator.hh,v 1.3 2002-12-15 10:11:35 mws Exp $
00005 //********************************************************************
00006 
00007 #ifndef INCLUDE_MM_MALLOCALLOCATOR_HH
00008 #define INCLUDE_MM_MALLOCALLOCATOR_HH
00009 
00010 #include "RawAllocator.hh"
00011 
00012 namespace fatalmind {
00013 
00014 class mallocAllocator: public RawAllocator {
00015     public:
00016         mallocAllocator();
00017         virtual ~mallocAllocator();
00018 
00019         void* allocate(size_t) const;
00020         void  deallocate(void*) const;
00021         size_t  placement_clone(void*) const;
00022 };
00023 } // namespace fatalmind
00024 
00025 #endif

Generated on Mon Nov 9 16:21:24 2009 for ResourcePool by  doxygen 1.5.3