[comp.lang.c++] Desperately looking for template.h by TI

jredi@lehi3b15.csee.Lehigh.EDU (Jason Redi [900905]) (06/04/91)

Hi, I am desperately looking for a file called template.h by Texas Instruments.
I don't know if it is public domain, comes with some other package, or anything
about this file.  It may be part of the COOL preprocessor and complier control program both by TI.  This file allows for (you guessed it) templates in c++ andis essential for the file I am trying to compile.
    Any information would be greatly appreciated.
                          ----J----
 

-- 
   /\   \\//                 /*    Jason K. Redi  */
  //\\   \/     jredi@lehi3b15.CSEE.Lehigh.EDU ; jkr1@NS.CC.Lehigh.EDU
 //__\\  /\     ...The mind is a terrible thing to taste in
/______\//\\                   the land of Rape and Honey....(A.Jourgensen)

jac@gandalf.llnl.gov (James A. Crotinger) (06/06/91)

Here is Template.h from TI's cpp distribution. You do need their
cpp to make use of it, though. 

///////////////////////////////////////////////////////////////////////////
//
// NAME
//    Template.h
//
// DESCRIPTION
//    Cpp macros supporting creation of parameterized types.
//
///////////////////////////////////////////////////////////////////////////

#if !defined(__Template__)
#define __Template__

#pragma defmacro MACRO "macro" delimiter=} recursive
#pragma defmacro template "template" delimiter=}
#pragma defmacro DECLARE "declare" delimiter=> recursive lines
#pragma defmacro IMPLEMENT "implement" delimiter=> recursive lines


///////////////////////////////////////////////////////////////////////////
//
// END OF FILE
//
///////////////////////////////////////////////////////////////////////////

#endif
--
-----------------------------------------------------------------------------
James A. Crotinger     Lawrence Livermore Natl Lab // The above views 
jac@moonshine.llnl.gov P.O. Box 808;  L-630    \\ // are mine and are not 
(415) 422-0259         Livermore CA  94550      \\/ necessarily those of LLNL