Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!cs.utexas.edu!tut.cis.ohio-state.edu!G.OSWEGO.EDU!dl From: dl@G.OSWEGO.EDU (Doug Lea) Newsgroups: gnu.g++.lib.bug Subject: possible bug in the Plex generic Message-ID: <9002031254.AA26119@g.oswego.edu> Date: 3 Feb 90 12:54:40 GMT References: Sender: daemon@tut.cis.ohio-state.edu Reply-To: dl@oswego.oswego.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 18 Thanks. `fill' was mismatched in all the *Plex files. Sorry. Fixed for next release. > I've noticed that a lot of the classes have been sprouting `const's > left and right. Good job! Koenig said that this was one of the > things that no one tells you, but is almost necessary for good code. > Someone may want to check the rest of the classes for missing `const's > (header and code mismatch that is). Most libg++ classes have been thoroughly const-ified. Occasionally this creates anomolies in order to be sufficiently conservative. For example, you cannot perform s.before("x") for a const String s, since the resulting SubString might modify s. This is true even if you only want to read, not change the SubString. There are several other such cases. -Doug