DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
ObjectPool.hpp File Reference

Pre-allocated object pool with RAII checkout/return semantics. More...

#include "Defines.hpp"
Include dependency graph for ObjectPool.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DNDS::ObjectPool< T >
 Generic object pool: caches unique_ptr<T> instances and hands them out with RAII return-on-destruction semantics. More...
 
struct  DNDS::ObjectPool< T >::Pool
 Internal storage shared among all handles. More...
 
class  DNDS::ObjectPool< T >::ObjectPoolAllocated
 RAII handle returned by ObjectPoolget (and friends). More...
 

Namespaces

namespace  DNDS
 the host side operators are provided as implemented
 

Detailed Description

Pre-allocated object pool with RAII checkout/return semantics.

Definition in file ObjectPool.hpp.