Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Allocation policy for objects with custom deallocation function. More...
#include <allocation_policy.h>
Public Member Functions | |
template<class T > | |
CustomAllocation (void(*destroy_func)(T *)) | |
Initialize. More... | |
template<class T > | |
void | destroy (T &object) |
Invoke custom destruction function. More... | |
Allocation policy for objects with custom deallocation function.
Definition at line 69 of file allocation_policy.h.
|
inline |
Initialize.
Definition at line 75 of file allocation_policy.h.
|
inline |
Invoke custom destruction function.
Definition at line 83 of file allocation_policy.h.