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

Slab pool. More...

Go to the source code of this file.

Classes

class  roc::core::SlabPool
 Slab pool. 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::SlabPool &pool) throw ()
 Placement new for core::SlabPool.
 
void operator delete (void *ptr, roc::core::SlabPool &pool) throw ()
 Placement delete for core::SlabPool.
 

Detailed Description

Slab pool.

Definition in file slab_pool.h.

Function Documentation

◆ operator delete()

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

Placement delete for core::SlabPool.

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

Definition at line 137 of file slab_pool.h.

◆ operator new()

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

Placement new for core::SlabPool.

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

Definition at line 129 of file slab_pool.h.