Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

node_allocator< T > Class Template Reference

high performance template class for allocation one object at one time More...

#include <memory.h>

Inheritance diagram for node_allocator< T >:

rep_allocator byte_allocator

List of all members.

Public Member Functions

 node_allocator (size_t capacity=os_def_size)
 constructor
T * allocate ()
 allocates one object


Detailed Description

template<class T>
class node_allocator< T >

high performance template class for allocation one object at one time

Definition at line 200 of file memory.h.


Constructor & Destructor Documentation

template<class T>
node_allocator< T >::node_allocator ( size_t  capacity = os_def_size  )  [inline]

constructor

Parameters:
capacity  default capacity

Definition at line 188 of file memory.hpp.


Member Function Documentation


The documentation for this class was generated from the following files:


© Copyright Terimber 2003-.