Collections, Working with Aggregate Data: Overview
MFC supplies "collections" (also called aggregate objects) — objects that can store multiple pieces of data of various types, including other objects derived from class .
You can use array, list, or map collections based on C++ templates, or you can use MFC's older predefined array, list, and map objects not based on templates. Using template-based collection classes is recommended for better type safety.