CS::Memory::AllocatorPointerWrapper< T, Allocator > Struct Template Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes
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:

- csutil/allocator.h