CS::Memory::AllocatorPointerWrapper< T, Allocator > Struct Template Reference
Class to store a pointer that is allocated from Allocator, to eliminate overhead from a possibly empty Allocator. More...
#include <csutil/allocator.h>
Inherits CS::Memory::Allocator.
Public Attributes | |
T * | p |
The allocated pointer. |
Detailed Description
template<typename T, typename Allocator>
struct CS::Memory::AllocatorPointerWrapper< T, Allocator >
Class to store a pointer that is allocated from Allocator, to eliminate overhead from a possibly empty Allocator.
See http://www.cantrip.org/emptyopt.html for details.
Definition at line 467 of file allocator.h.
Member Data Documentation
template<typename T, typename Allocator>
T* CS::Memory::AllocatorPointerWrapper< T, Allocator >::p |
The allocated pointer.
Definition at line 470 of file allocator.h.
The documentation for this struct was generated from the following file:
- csutil/allocator.h
Generated for Crystal Space 1.4.1 by doxygen 1.7.1