mem_pool_base.cpp File Reference


Detailed Description

Implementation for the memory pool base.

Version:
1.2, 2004/07/26
Author:
Wu Yongwei

Definition in file mem_pool_base.cpp.

#include <new>
#include "mem_pool_base.h"

Go to the source code of this file.

Defines

#define _MEM_POOL_ALLOCATE(_Sz)   ::operator new((_Sz), std::nothrow)
#define _MEM_POOL_DEALLOCATE(_Ptr)   ::operator delete(_Ptr)


Define Documentation

#define _MEM_POOL_ALLOCATE ( _Sz   )     ::operator new((_Sz), std::nothrow)

Definition at line 52 of file mem_pool_base.cpp.

Referenced by mem_pool_base::alloc_sys().

#define _MEM_POOL_DEALLOCATE ( _Ptr   )     ::operator delete(_Ptr)

Definition at line 53 of file mem_pool_base.cpp.

Referenced by mem_pool_base::dealloc_sys().


Generated on Wed May 5 00:06:38 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6