Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
iarena.h File Reference

Memory arena interface. More...

Go to the source code of this file.

Classes

class  roc::core::IArena
 Memory arena interface. More...
 

Namespaces

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

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.