home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13545 < prev    next >
Encoding:
Text File  |  1992-09-11  |  910 b   |  31 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!taumet!steve
  3. From: steve@taumet.com (Steve Clamage)
  4. Subject: Re: >>>>>> Novice Question on Wierd class definition
  5. Message-ID: <1992Sep11.181752.3915@taumet.com>
  6. Organization: TauMetric Corporation
  7. References: <ssimmons.716144452@convex.convex.com>
  8. Date: Fri, 11 Sep 1992 18:17:52 GMT
  9. Lines: 20
  10.  
  11. ssimmons@convex.com (Steve Simmons) writes:
  12.  
  13.  
  14. |> class B(type) {
  15. |>        type** C;
  16. |> .more defs...
  17. |> }
  18. |> 
  19. |> Is B a template class, or what its it? Is it an anachronism?
  20.  
  21. |It is a template class... Templates are available with ATT V3.0... 
  22.  
  23. This is not the standard syntax for templates, and this won't work
  24. with (most) current compilers which implement templates.  It may have
  25. been written for use with some template preprocessor.  (Or maybe
  26. g++ used or uses this syntax.)
  27. -- 
  28.  
  29. Steve Clamage, TauMetric Corp, steve@taumet.com
  30. Vice Chair, ANSI C++ Committee, X3J16
  31.