Article View: gnu.g++.lib.bug
Article #326gen classes and templates
From: Jeff Greif
Date: Thu, 12 Nov 1992 19:37
Date: Thu, 12 Nov 1992 19:37
23 lines
1655 bytes
1655 bytes
>>>> Tom Stiemerling <trs@cs.city.ac.uk> writes: Tom> Resent-Date: Wed, 11 Nov 92 14:23:56 GMT Tom> Resent-From: bug-lib-g++-request@prep.ai.mit.edu Tom> Now that g++-2.X supports templates, it seems that the genclass stuff is Tom> redundant (in that it tries to do the same thing outside the compiler). Tom> Is there any move to convert the gen libraries into template form? Tom> How difficult would it be to do? Is anyone currently doing it? Please don't ditch the genclass stuff from libg++. Some people would like to use lib-g++ reuseable classes in environments (e.g. Microsoft C7.0) where templates aren't supported. It is much easier to port e.g. the collection classes of libg++ and the genclass stuff to a strange environment like Windows than to deal with missing templates in the library. I would recommend keeping the existing stuff and perhaps providing an alternate that used templates. Also, given the volume of bug reports mentioning templates for gcc-2.3.1 and 2.2.2, it seems premature to expect them to easily support everything that would appear in a template-ized libg++. Thanks. Jeff
Technical Details
Message-ID:
<9211121937.AA06398@quaestor>Path:
arc1-ca.pugleaf.net!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!jmgReferences:
<3880.9211111423@barney.cs.city.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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 From: jmg@inference.COM (Jeff Greif) Newsgroups: gnu.g++.lib.bug Subject: gen classes and templates Message-ID: <9211121937.AA06398@quaestor> Date: 12 Nov 92 19:37:49 GMT References: <3880.9211111423@barney.cs.city.ac.uk> Sender: gnulists@ai.mit.edu Distribution: gnu Organization: Inference Corporation Lines: 23 Approved: bug-lib-g++@prep.ai.mit.edu