FEI Version of the Day
fei_Pool_alloc< T > Class Template Reference

#include <fei_Pool_alloc.hpp>

Inheritance diagram for fei_Pool_alloc< T >:
Inheritance graph
[legend]

List of all members.


Detailed Description

template<typename T>
class fei_Pool_alloc< T >

fei_Pool_alloc (along with its underlying memory-pool class fei_Pool) is taken almost verbatim from Stroustrup's book "The C++ Programming Language 3rd edition", pages 567-572.

The difference between this class and the one in the book is that the length of allocated memory-chunks must always be the same. That is, the first time allocate is called, an internal memory-pool is created with the specified alloc-size. That memory-pool can only satisfy allocation requests of that same size from then on.

Definition at line 34 of file fei_Pool_alloc.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends