dune-common
2.3.1
|
An stl-compliant pool allocator. More...
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. |
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 > &p1, const PoolAllocator< T, t2 > &p2) |
template<typename T , std::size_t t1, std::size_t t2> | |
bool | Dune::operator!= (const PoolAllocator< T, t1 > &p1, const PoolAllocator< T, t2 > &p2) |
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 > &p1, const PoolAllocator< void, t2 > &p2) |
template<std::size_t t1, std::size_t t2> | |
bool | Dune::operator!= (const PoolAllocator< void, t1 > &p1, const PoolAllocator< void, t2 > &p2) |
An stl-compliant pool allocator.
This file implements the classes Pool and PoolAllocator providing memory allocation for objects in chunks.