Classes | Functions
array_allocator.h File Reference
#include <assert.h>
#include <string.h>
#include "macros.h"
Include dependency graph for include/hogman_minimal/stuff/array_allocator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _Array2DAllocator< N, M, Base >
struct  _Array2DAllocator< 0, 0, Base >
struct  _ArrayAllocator< N, Base >
struct  _ArrayAllocator< 0, Base >

Functions

template<int N, typename Base >
void dyn2st (_ArrayAllocator< N, Base > &dest, const _ArrayAllocator< 0, Base > &src)
template<int M, int N, typename Base >
void dyn2st (_Array2DAllocator< M, N, Base > &dest, const _Array2DAllocator< 0, 0, Base > &src)
template<int N, typename Base >
void st2dyn (_ArrayAllocator< 0, Base > &dest, const _ArrayAllocator< N, Base > &src)
template<int M, int N, typename Base >
void st2dyn (_Array2DAllocator< 0, 0, Base > &dest, const _Array2DAllocator< M, N, Base > &src)

Function Documentation

template<int N, typename Base >
void dyn2st ( _ArrayAllocator< N, Base > &  dest,
const _ArrayAllocator< 0, Base > &  src 
)

oonverts a dynamic storage to a static one

Definition at line 146 of file include/hogman_minimal/stuff/array_allocator.h.

template<int M, int N, typename Base >
void dyn2st ( _Array2DAllocator< M, N, Base > &  dest,
const _Array2DAllocator< 0, 0, Base > &  src 
)

dynamic 2 static 2d array

Definition at line 286 of file include/hogman_minimal/stuff/array_allocator.h.

template<int N, typename Base >
void st2dyn ( _ArrayAllocator< 0, Base > &  dest,
const _ArrayAllocator< N, Base > &  src 
)

oonverts a static storage to a dynamic one

Definition at line 138 of file include/hogman_minimal/stuff/array_allocator.h.

template<int M, int N, typename Base >
void st2dyn ( _Array2DAllocator< 0, 0, Base > &  dest,
const _Array2DAllocator< M, N, Base > &  src 
)

static 2 dynamic 2d array

Definition at line 277 of file include/hogman_minimal/stuff/array_allocator.h.



hogman_minimal
Author(s): Maintained by Juergen Sturm
autogenerated on Mon Oct 6 2014 00:06:59