trantor
Non-blocking I/O cross-platform TCP network library, using C++14
Loading...
Searching...
No Matches
trantor::ObjectPool< T > Class Template Reference

This class template represents a object pool. More...

#include <trantor/utils/ObjectPool.h>

Inheritance diagram for trantor::ObjectPool< T >:
Collaboration diagram for trantor::ObjectPool< T >:

Public Member Functions

std::shared_ptr< T > getObject ()

Additional Inherited Members

Protected Member Functions inherited from trantor::NonCopyable
 NonCopyable (const NonCopyable &)=delete
NonCopyable & operator= (const NonCopyable &)=delete
 NonCopyable (NonCopyable &&) noexcept(true)=default
NonCopyable & operator= (NonCopyable &&) noexcept(true)=default

Detailed Description

template<typename T>
class trantor::ObjectPool< T >

This class template represents a object pool.

Template Parameters
T

The documentation for this class was generated from the following file: