/* Copyright (C) 1990 Texas Instruments Incorporated. Permission is granted to any individual or institution to use, copy, modify, and distribute this software, provided that this complete copyright and permission notice is maintained, intact, in all copies and supporting documentation. Texas Instruments Incorporated provides this software "as is" without express or implied warranty. * * Edit history * Created: LGO 30-Mar-89 -- Initial design and implementation. * Updated: MJF 21-May-90 -- Added DECLARE_ONCE for CCC -X. * Updated: MJF 01-Mar-91 -- Added fix when expanding member functions * which return a template class * Updated: GPD 25-Jun-91 -- Fix #line nesting. When template expansions done. * * Template, DECLARE and IMPLEMENT defmacro * * TO DO: * Generate a warning message when a template is encountered for a class * that has already had a DECLARE or IMPLEMENT run on it. * * Scan for the "inline" keyword at the beginning of the "garbage pail" * template. * * template needs a more robust heuristic for finding the class name */ /* // C++ paramertized type macro support // This follows the conventions outlined in the 1988 USENIX C++ conference // paper titled "Parameterized Types for C++" by Bjarne Stroustrup // // To use, insert the following // #pragma defmacro template