source:
issm/oecreview/Archive/12321-12677/ISSM-12354-12355.diff
Last change on this file was 12679, checked in by , 13 years ago | |
---|---|
File size: 1.3 KB |
-
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/MemOps/xMemCpy.h
1 /* \file xMemCpy.h 2 * \brief: header file for templated memory operations 3 */ 4 5 #ifndef _XMEMCPY_H_ 6 #define _XMEMCPY_H_ 7 8 #include <cassert> 9 10 template <class T> 11 T* xMemCpy(T* dest, const T* src, unsigned int size) { 12 assert(dest); assert(src); 13 for (int i=0; i<size;++i) 14 dest[i]=src[i]; 15 return dest; 16 }; 17 18 #endif 19 -
u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/Makefile.am
176 176 ./shared/Alloc/alloc.h\ 177 177 ./shared/Alloc/alloc.cpp\ 178 178 ./shared/Alloc/xNewDelete.h\ 179 ./shared/MemOps/xMemCpy.h\ 179 180 ./shared/Matrix/matrix.h\ 180 181 ./shared/Matrix/MatrixUtils.cpp\ 181 182 ./shared/Dofs/dofs.h\
Note:
See TracBrowser
for help on using the repository browser.