home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / g / lib / bug / 593 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  1.6 KB

  1. Path: sparky!uunet!know!hri.com!noc.near.net!news.bbn.com!usc!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!inference.COM!jmg
  2. From: jmg@inference.COM (Jeff Greif)
  3. Newsgroups: gnu.g++.lib.bug
  4. Subject: gen classes and templates
  5. Message-ID: <9211121937.AA06398@quaestor>
  6. Date: 12 Nov 92 19:37:49 GMT
  7. References: <3880.9211111423@barney.cs.city.ac.uk>
  8. Sender: gnulists@ai.mit.edu
  9. Distribution: gnu
  10. Organization: Inference Corporation
  11. Lines: 23
  12. Approved: bug-lib-g++@prep.ai.mit.edu
  13.  
  14. >>>> Tom Stiemerling <trs@cs.city.ac.uk> writes:
  15.   Tom> Resent-Date: Wed, 11 Nov 92 14:23:56 GMT
  16.   Tom> Resent-From: bug-lib-g++-request@prep.ai.mit.edu
  17.  
  18.   Tom> Now that g++-2.X supports templates, it seems that the genclass stuff is
  19.   Tom> redundant (in that it tries to do the same thing outside the compiler).
  20.   Tom> Is there any move to convert the gen libraries into template form?
  21.   Tom> How difficult would it be to do? Is anyone currently doing it?
  22.  
  23. Please don't ditch the genclass stuff from libg++.  Some people would like
  24. to use lib-g++ reuseable classes in environments (e.g. Microsoft C7.0) where
  25. templates aren't supported.  It is much easier to port e.g. the collection
  26. classes of libg++ and the genclass stuff to a strange environment like
  27. Windows than to deal with missing templates in the library.  I would
  28. recommend keeping the existing stuff and perhaps providing an alternate
  29. that used templates.  
  30.  
  31. Also, given the volume of bug reports mentioning templates for gcc-2.3.1
  32. and 2.2.2, it seems premature to expect them to easily support everything
  33. that would appear in a template-ized libg++.
  34.  
  35. Thanks.
  36. Jeff
  37.