00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 3 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * Written (W) 2008-2009 Soeren Sonnenburg 00008 * Copyright (C) 2008-2009 Fraunhofer Institute FIRST and Max-Planck-Society 00009 */ 00010 00011 #ifndef __MEMORY_H__ 00012 #define __MEMORY_H__ 00013 00014 #include <stdlib.h> 00015 #include <new> 00016 00017 void* operator new(size_t size) throw (std::bad_alloc); 00018 void operator delete(void *p); 00019 00020 void* operator new[](size_t size); 00021 void operator delete[](void *p); 00022 00023 #endif // __MEMORY_H__