Share via


ConstructElements

template<classTYPE**>**
voidAFXAPIConstructElements(TYPE*pElements,intnCount**);**

Parameters

TYPE

Template parameter specifying the type of the elements to be constructed.

pElements

Pointer to the elements.

nCount

Number of elements to be constructed.

Remarks

This function is called when new array, list, and map elements are constructed. The default version initializes all bits of the new elements to 0.

For information on implementing this and other helper functions, see the article in Visual C++ Programmer’s Guide.

See Also   CArray, CList, CMap