Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
csSafeCopyArrayMemoryAllocator< T, ElementHandler > Class Template Reference
Special allocator for csArray that makes sure that when the array is reallocated that the objects are properly constructed and destructed at their new position. More...
#include <csutil/array.h>
Detailed Description
template<class T, class ElementHandler = csArrayElementHandler<T>>
class csSafeCopyArrayMemoryAllocator< T, ElementHandler >
Special allocator for csArray that makes sure that when the array is reallocated that the objects are properly constructed and destructed at their new position.
This is needed for objects that can't be safely moved around in memory (like weak references). This is of course slower and that's the reason that this is not done by default.
Definition at line 246 of file array.h.
The documentation for this class was generated from the following file:
- csutil/array.h
Generated for Crystal Space by doxygen 1.3.9.1