template<typename T, int alignment>
Definition at line 177 of file FXMemoryPool.h. References FX::malloc(), and NULL. 00177 { 00178 void *pv = malloc(n * sizeof(T), 0, alignment); 00179 if (pv == NULL) throw std::bad_alloc(); 00180 return static_cast<T *>(pv); 00181 }
|