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

Memory arena interface. More...

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

Go to the source code of this file.

Classes

class  roc::core::IArena
 Memory arena 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::IArena &arena) throw ()
 Placement new for core::IArena. More...
 
void * operator new[] (size_t size, roc::core::IArena &arena) throw ()
 Placement new[] for core::IArena. More...
 
template<class T >
void operator delete (void *ptr, roc::core::IArena &arena) throw ()
 Placement delete for core::IArena. More...
 
template<class T >
void operator delete[] (void *ptr, roc::core::IArena &arena) throw ()
 Placement delete[] for core::IArena. More...
 

Detailed Description

Memory arena interface.

Definition in file iarena.h.

Function Documentation

◆ operator delete()

template<class T >
void operator delete ( void *  ptr,
roc::core::IArena arena 
)
throw (
)
inline

Placement delete for core::IArena.

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

Definition at line 73 of file iarena.h.

◆ operator delete[]()

template<class T >
void operator delete[] ( void *  ptr,
roc::core::IArena arena 
)
throw (
)
inline

Placement delete[] for core::IArena.

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

Definition at line 81 of file iarena.h.

◆ operator new()

void* operator new ( size_t  size,
roc::core::IArena arena 
)
throw (
)
inline

Placement new for core::IArena.

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

Definition at line 58 of file iarena.h.

◆ operator new[]()

void* operator new[] ( size_t  size,
roc::core::IArena arena 
)
throw (
)
inline

Placement new[] for core::IArena.

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

Definition at line 65 of file iarena.h.