Index: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/MemOps/xMemCpy.h =================================================================== --- /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/MemOps/xMemCpy.h (revision 0) +++ /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/MemOps/xMemCpy.h (revision 12355) @@ -0,0 +1,19 @@ +/* \file xMemCpy.h + * \brief: header file for templated memory operations + */ + +#ifndef _XMEMCPY_H_ +#define _XMEMCPY_H_ + +#include + +template +T* xMemCpy(T* dest, const T* src, unsigned int size) { + assert(dest); assert(src); + for (int i=0; i