Dune Core Modules (2.5.2)

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

namespace  Dune
 Dune namespace.
 
namespace  std
 STL 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.111.3 (Nov 12, 23:30, 2024)