Compartir a través de


CElementTraitsBase::CopyElements

Call this method to copy elements stored in a collection class object.

static void CopyElements(
   T* pDest,
   const T* pSrc,
   size_t nElements 
);

Parameters

  • pDest
    Pointer to the first element that will receive the copied data.

  • pSrc
    Pointer to the first element to copy.

  • nElements
    The number of elements to copy.

Remarks

The source and destination elements should not overlap.

Requirements

Header: atlcoll.h

See Also

Concepts

CElementTraitsBase Class

CElementTraitsBase Members

CElementTraitsBase::RelocateElements