|
dune-common
2.3.1
|
An stl-compliant pool allocator. More...
#include "alignment.hh"#include "static_assert.hh"#include "lcm.hh"#include <typeinfo>#include <iostream>#include <cassert>#include <new>Go to the source code of this file.
Classes | |
| struct | testPoolMain< size, T > |
| 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... | |
| 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... | |
| class | Dune::PoolAllocator< void, s > |
| struct | Dune::PoolAllocator< void, s >::rebind< U > |
Namespaces | |
| 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.
1.8.7