Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!uunet!taumet!steve From: steve@taumet.com (Stephen Clamage) Newsgroups: comp.lang.c++ Subject: Re: Templates...? Message-ID: <603@taumet.com> Date: 14 Feb 91 17:33:30 GMT References: <10815@jarthur.Claremont.EDU> Distribution: usa Organization: Taumetric Corporation, San Diego Lines: 25 dfoster@jarthur.Claremont.EDU (Derek R. Foster) writes: >While reading this newsgroup recently, I have run across several >references to "templates", which I am presuming (perhaps incorrectly) >are the long-awaited addition of generic types to C++. That's what they are. >I have only heard passing references to templates, however. Have they >been "officially" added to C++? Not yet. There are some experimental partial implementations. >Is there an agreed-upon syntax? Not yet, but see Ellis & Stroustrup, "The Annotated C++ Reference Manual". There is some discussion in the ANSI C++ committee (X3J16) concerning the adequacy of the syntax. The specified syntax has some known ambiguities. >Could someone give some simple examples which would show this syntax? See E&S. -- Steve Clamage, TauMetric Corp, steve@taumet.com