Dune Core Modules (2.6.0)

poolallocator.hh File Reference

An stl-compliant pool allocator. More...

#include "lcm.hh"
#include <typeinfo>
#include <iostream>
#include <cassert>
#include <new>

Go to the source code of this file.

Classes

class  Dune::Pool< T, s >
 A memory pool of objects. More...
 
class  Dune::PoolAllocator< T, s >
 An allocator managing a pool of objects for reuse. More...
 
struct  Dune::PoolAllocator< T, s >::rebind< U >
 Rebind the allocator to another type. More...
 

Namespaces

 Dune
 Dune namespace.
 

Detailed Description

An stl-compliant pool allocator.

This file implements the classes Pool and PoolAllocator providing memory allocation for objects in chunks.

Author
Markus Blatt
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 2, 22:35, 2024)