poolallocator.hh File Reference

Go to the source code of this file.

Classes

class  Dune::Pool< T, s >
 A memory pool of objects. More...
struct  Dune::Pool< T, s >::Reference
 Reference to next free element.
struct  Dune::Pool< T, s >::Chunk
 Chunk of memory managed by the pool.
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...
class  Dune::PoolAllocator< void, s >
struct  Dune::PoolAllocator< void, s >::rebind< U >

Namespaces

namespace  Dune
 

Dune namespace.


namespace  std
 

STL namespace.


Functions

template<typename T1 , std::size_t t1, typename T2 , std::size_t t2>
bool Dune::operator== (const PoolAllocator< T1, t1 > &, const PoolAllocator< T2, t2 > &)
template<typename T1 , std::size_t t1, typename T2 , std::size_t t2>
bool Dune::operator!= (const PoolAllocator< T1, t1 > &, const PoolAllocator< T2, t2 > &)
template<typename T , std::size_t t1, std::size_t t2>
bool Dune::operator== (const PoolAllocator< T, t1 > &, const PoolAllocator< T, t2 > &)
template<typename T , std::size_t t1, std::size_t t2>
bool Dune::operator!= (const PoolAllocator< T, t1 > &, const PoolAllocator< T, t2 > &)
template<typename T , std::size_t t1, std::size_t t2>
bool Dune::operator== (const PoolAllocator< T, t1 > &, const PoolAllocator< void, t2 > &)
template<typename T , std::size_t t1, std::size_t t2>
bool Dune::operator!= (const PoolAllocator< T, t1 > &, const PoolAllocator< void, t2 > &)
template<typename T , std::size_t t1, std::size_t t2>
bool Dune::operator== (const PoolAllocator< void, t1 > &, const PoolAllocator< T, t2 > &)
template<typename T , std::size_t t1, std::size_t t2>
bool Dune::operator!= (const PoolAllocator< void, t1 > &, const PoolAllocator< T, t2 > &)
template<std::size_t t1, std::size_t t2>
bool Dune::operator== (const PoolAllocator< void, t1 > &, const PoolAllocator< void, t2 > &)
template<std::size_t t1, std::size_t t2>
bool Dune::operator!= (const PoolAllocator< void, t1 > &, const PoolAllocator< void, t2 > &)

Detailed Description

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

Author:
Markus Blatt

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].