CrystalSpace

Public API Reference

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 Allocator.

List of all members.

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 590 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 593 of file allocator.h.


The documentation for this struct was generated from the following file:

Generated for Crystal Space 2.0 by doxygen 1.6.1