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

Memory pool interface. More...

Include dependency graph for ipool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  roc::core::IPool
 Memory pool interface. More...
 

Namespaces

 roc
 Root namespace.
 
 roc::core
 General-purpose building blocks and platform abstraction layer.
 

Functions

void * operator new (size_t size, roc::core::IPool &pool) throw ()
 Placement new for core::IPool. More...
 
void operator delete (void *ptr, roc::core::IPool &pool) throw ()
 Placement delete for core::IPool. More...
 

Detailed Description

Memory pool interface.

Definition in file ipool.h.

Function Documentation

◆ operator delete()

void operator delete ( void *  ptr,
roc::core::IPool pool 
)
throw (
)
inline

Placement delete for core::IPool.

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

Definition at line 65 of file ipool.h.

◆ operator new()

void* operator new ( size_t  size,
roc::core::IPool pool 
)
throw (
)
inline

Placement new for core::IPool.

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

Definition at line 57 of file ipool.h.