Class Ase::FastMemArray
template <typename T, size_t ALIGNMENT>
ClassList > Ase > FastMemArray
Array with cache-line-alignment containing a fixed numer of PODs.
#include <memory.hh>
Public Functions
Type | Name |
---|---|
FastMemArray (size_t n_elements) |
|
FastMemArray (const std::vector< T > & elements) |
|
T & | at (size_t n) |
const T & | at (size_t n) const |
T * | begin () |
T * | end () |
T & | operator[] (size_t n) |
const T & | operator[] (size_t n) const |
size_t | size () const |
~FastMemArray () |
Protected Functions
Type | Name |
---|---|
void | range_check (size_t n) const |
Public Functions Documentation
function FastMemArray [1/2]
inline Ase::FastMemArray::FastMemArray (
size_t n_elements
)
function FastMemArray [2/2]
inline Ase::FastMemArray::FastMemArray (
const std::vector< T > & elements
)
function at [1/2]
inline T & Ase::FastMemArray::at (
size_t n
)
function at [2/2]
inline const T & Ase::FastMemArray::at (
size_t n
) const
function begin
inline T * Ase::FastMemArray::begin ()
function end
inline T * Ase::FastMemArray::end ()
function operator[]
inline T & Ase::FastMemArray::operator[] (
size_t n
)
function operator[]
inline const T & Ase::FastMemArray::operator[] (
size_t n
) const
function size
inline size_t Ase::FastMemArray::size () const
function ~FastMemArray
inline Ase::FastMemArray::~FastMemArray ()
Protected Functions Documentation
function range_check
inline void Ase::FastMemArray::range_check (
size_t n
) const
The documentation for this class was generated from the following file /__w/anklang/anklang/ase/memory.hh