Visual Studio 2010 - Visual C++
CopyElements
This function is called directly by CArray::Append and CArray::Copy.
template<class TYPE> void AFXAPI CopyElements( TYPE* pDest, const TYPE* pSrc, INT_PTR nCount );
Parameters
Remarks
The default implementation uses the simple assignment operator ( = ) to perform the copy operation. If the type being copied does not have an overloaded operator=, then the default implementation performs a bitwise copy.
For information on implementing this and other helper functions, see the article Collections: How to Make a Type-Safe Collection.
Requirements
Header: afxtempl.h
See Also