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