Nektar++
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
ObjectPool.hpp File Reference
#include <iostream>
#include <memory>
#include <vector>
#include <boost/pool/pool.hpp>
#include <boost/pool/pool_alloc.hpp>

Go to the source code of this file.

Classes

class  Nektar::ObjPoolManager< DataType >
 Generic object pool allocator/deallocator. More...
 
struct  Nektar::ObjPoolManager< DataType >::UniquePtrDeleter
 

Namespaces

namespace  Nektar
 

Typedefs

template<typename DataType >
using Nektar::PoolAllocator = boost::fast_pool_allocator< DataType, boost::default_user_allocator_new_delete, boost::details::pool::null_mutex >
 
template<typename T >
using Nektar::unique_ptr_objpool = std::unique_ptr< T, typename ObjPoolManager< T >::UniquePtrDeleter >