PlayRho  2.0.0
An interactive physics engine & library.
ObjectPool.hpp File Reference

Definition of the ObjectPool class template and closely related code. More...

#include <algorithm>
#include <cassert>
#include <stdexcept>
#include <utility>
#include <vector>
Include dependency graph for ObjectPool.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  playrho::ObjectPool< T >
 Object pool with indexable properties. More...
 

Namespaces

 playrho
 

Functions

template<typename T >
ObjectPool< T >::size_type playrho::used (const ObjectPool< T > &array) noexcept
 Gets the number of elements that are used in the specified structure. More...
 

Detailed Description

Definition of the ObjectPool class template and closely related code.