home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usc!cs.utexas.edu!hermes.chpc.utexas.edu!news.utdallas.edu!convex!ssimmons
- From: ssimmons@convex.com (Steve Simmons)
- Newsgroups: comp.lang.c++
- Subject: >>>>>> Novice Question on Wierd class definition
- Message-ID: <ssimmons.716144452@convex.convex.com>
- Date: 10 Sep 92 17:00:52 GMT
- Sender: usenet@news.eng.convex.com (news access account)
- Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
- Lines: 23
- Nntp-Posting-Host: pixel.convex.com
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
-
-
- > I have been looking at a piece of code that looks something like
- > this:
- >
- > class A {
- > .. some defs...
- > }
- >
- > class B(type) {
- > type** C;
- > .more defs...
- > }
- >
- > Is B a template class, or what its it? Is it an anachronism?
-
- It is a template class... Templates are available with ATT V3.0...
-
- Templates are useful when you have several structures that are similar
- in structure; however, a common field of the structure differs among them.
-
- Thank you.
-
- Steve Simmons
-