template< class TYPE >
void AFXAPI ConstructElements( TYPE* pElements, int nCount );
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 Collections: How to Make a Type-Safe Collection in Visual C++ Programmer’s Guide.