Template Classes for Arrays, Lists, and Maps
These collection classes are templates whose parameters determine the types of the objects stored in the aggregates. The CArray, CMap, and CList classes use global helper functions that must usually be customized. For more information about these helper functions, see Collection Class Helpers. The typed pointer classes are wrappers for other classes in the class library. By using these wrappers, you enlist the compiler's type-checking to help you avoid errors. For more information on using these classes, see Collections.
These classes provide templates you can use to create arrays, lists, and maps using any type you like.