Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
pool.h File Reference

Pool. More...

#include "roc_core/alignment.h"
#include "roc_core/iallocator.h"
#include "roc_core/list.h"
#include "roc_core/log.h"
#include "roc_core/mutex.h"
#include "roc_core/noncopyable.h"
#include "roc_core/panic.h"
#include "roc_core/stddefs.h"
Include dependency graph for pool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  roc::core::Pool< T >
 Pool. More...
 

Namespaces

 roc
 Root namespace.
 
 roc::core
 Basic building blocks.
 

Functions

template<class T >
void * operator new (size_t size, roc::core::Pool< T > &pool) ROC_ATTR_NOTHROW
 Placement new for core::Pool<T>. More...
 
template<class T >
void operator delete (void *ptr, roc::core::Pool< T > &pool) ROC_ATTR_NOTHROW
 Placement delete for core::Pool<T>. More...
 

Detailed Description

Pool.

Definition in file pool.h.

Function Documentation

template<class T >
void operator delete ( void *  ptr,
roc::core::Pool< T > &  pool 
)
inline

Placement delete for core::Pool<T>.

Note
Compiler calls this if ctor throws in a placement new expression.

Definition at line 202 of file pool.h.

template<class T >
void* operator new ( size_t  size,
roc::core::Pool< T > &  pool 
)
inline

Placement new for core::Pool<T>.

Note
nothrow forces compiler to check for NULL return value before calling ctor.

Definition at line 193 of file pool.h.