The C++ Report

The C++ Report

4.11 - 1251 ratings - Source

The first parameter, Base, is the enumerator interface type a€” IEnumAnimals in our Zoo example. Notice that the class actually derives itself from this template parameter, and as long as the enumerator interface was defined with the proper four methods, it will ... to arrays (just as the MFC class did), so if we were to use this class with our STL list of zoo animals, we would first have to copy them to an array.

Title:The C++ Report
Publisher: - 1998


You Must CONTINUE and create a free account to access unlimited downloads & streaming