Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::AlignedStorage< Size > Class Template Reference

Fixed-size maximum-aligned storage. More...

#include <aligned_storage.h>

Public Member Functions

const void * memory () const
 Get storage memory. More...
 
void * memory ()
 Get storage memory. More...
 

Static Public Member Functions

static size_t size ()
 Get storage size. More...
 

Detailed Description

template<size_t Size>
class roc::core::AlignedStorage< Size >

Fixed-size maximum-aligned storage.

Definition at line 22 of file aligned_storage.h.

Member Function Documentation

◆ memory() [1/2]

template<size_t Size>
void* roc::core::AlignedStorage< Size >::memory ( )
inline

Get storage memory.

Definition at line 35 of file aligned_storage.h.

◆ memory() [2/2]

template<size_t Size>
const void* roc::core::AlignedStorage< Size >::memory ( ) const
inline

Get storage memory.

Definition at line 30 of file aligned_storage.h.

◆ size()

template<size_t Size>
static size_t roc::core::AlignedStorage< Size >::size ( )
inlinestatic

Get storage size.

Definition at line 25 of file aligned_storage.h.


The documentation for this class was generated from the following file: