FXDLLPUBLIC void * operator new ( size_t  size,
FX::FXMemoryPool heap,
FX::FXuint  alignment = 0 
) throw (std::bad_alloc) [inline]

operator new with a specific pool

Definition at line 198 of file FXMemoryPool.h.

References FX::malloc().

00199 {
00200     void *ret;
00201     if(!(ret=FX::malloc(size, heap, alignment))) throw std::bad_alloc();
00202     return ret;
00203 }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:31:36 2009 for TnFOX by doxygen v1.4.7