TEMPLDEF: MS-DOS(R) Tool that Expands C++ Templates
TEMPLDEF is an MS-DOS(R) tool that helps you write and use template-like classes. A template is a proposed (but not established) C++ language feature that is used to create specific collection types from general collection types.
The C++ language will support templates in the future. TEMPLDEF makes some of the proposed features available now. The program reads a template file, and writes a new C++ class that is type-safe.
After you build the TEMPLDEF tool, you can use the MKCOLL.BAT batch file and the array, list, and map template files (these are all in the TEMPLDEF subdirectory) to generate your own versions of arrays, lists, and maps.
For more information on TEMPLDEF, see "MFC TN004--Template Classes." For more information on proposed C++ templates, see Chapter 14 of "The Annotated C++ Reference Manual," by Margaret A. Ellis and Bjarne Stroustrup (Addison-Wesley, 1990).
TEMPLDEF requires special MFC libraries and include files; see the "MFC Libraries" and "MFC Include Files" abstracts to copy these files to your development system. TEMPLDEF uses the following libraries: MLIBCE.LIB (MS-DOS C runtime libraries), and either MAFXCR.LIB (MFC medium-model MS-DOS retail library) or MAFXCRD.LIB (MFC medium-model MS-DOS debug library).
To build this application, you must have Microsoft C/C++ version 7.0 installed on your system.
{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the templdef project." /C"samples}