Article View: gnu.g++.lib.bug
Article #117EntList
From: Doug Lea
Date: Sat, 29 Jul 1989 11:25
Date: Sat, 29 Jul 1989 11:25
13 lines
1094 bytes
1094 bytes
This is a real problem. A Pix (pseudoindex) is used to index/traverse containers in an array- or list-like fashion. See libg++.texinfo. For efficiency reasons it is currently defined via a typedef (to void*) instead of as a class. It is likely that someday, g++ will provide enough optimization features that defining Pix as a class will incur no such penalty (this will also make them a bit safer to use). Until then I suppose the only workaround is for you to comment out the EntList(Pix) constructor in your version, since you probably can live without it (It is useful only in creating new Lists headed by some traversal pointer Pix). -Doug
Technical Details
Message-ID:
<8907291125.AA13304@g.oswego.edu.Oswego.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!iuvax!mailrus!tut.cis.ohio-state.edu!G.OSWEGO.EDU!dlReferences:
<1989Jul23.203657.13449@alberta.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!iuvax!mailrus!tut.cis.ohio-state.edu!G.OSWEGO.EDU!dl From: dl@G.OSWEGO.EDU (Doug Lea) Newsgroups: gnu.g++.lib.bug Subject: EntList Message-ID: <8907291125.AA13304@g.oswego.edu.Oswego.EDU> Date: 29 Jul 89 11:25:47 GMT References: <1989Jul23.203657.13449@alberta.uucp> Sender: daemon@tut.cis.ohio-state.edu Reply-To: dl@oswego.oswego.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 13