Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Array with cache-line-alignment containing a fixed numer of PODs. More...
#include "memory.hh"
Public Member Functions | |
FastMemArray (size_t n_elements) | |
FastMemArray (const std::vector< T > &elements) | |
T * | begin () |
T * | end () |
size_t | size () const |
T & | operator[] (size_t n) |
const T & | operator[] (size_t n) const |
T & | at (size_t n) |
const T & | at (size_t n) const |
Protected Member Functions | |
void | range_check (size_t n) const |
Array with cache-line-alignment containing a fixed numer of PODs.
Ase::FastMemArray< T, ALIGNMENT >::FastMemArray | ( | size_t | n_elements | ) |
Ase::FastMemArray< T, ALIGNMENT >::FastMemArray | ( | const std::vector< T > & | elements | ) |
Ase::FastMemArray< T, ALIGNMENT >::~FastMemArray | ( | ) |
T & Ase::FastMemArray< T, ALIGNMENT >::at | ( | size_t | n | ) |
const T & Ase::FastMemArray< T, ALIGNMENT >::at | ( | size_t | n | ) | const |
T * Ase::FastMemArray< T, ALIGNMENT >::begin | ( | ) |
T * Ase::FastMemArray< T, ALIGNMENT >::end | ( | ) |
T & Ase::FastMemArray< T, ALIGNMENT >::operator[] | ( | size_t | n | ) |
const T & Ase::FastMemArray< T, ALIGNMENT >::operator[] | ( | size_t | n | ) | const |
|
protected |
size_t Ase::FastMemArray< T, ALIGNMENT >::size | ( | ) | const |