Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!elroy.jpl.nasa.gov!decwrl!megatest!djones From: djones@megatest.UUCP (Dave Jones) Newsgroups: comp.lang.c++ Subject: Re: About Lists and things ... Mostly requests for info. Message-ID: <18982@prometheus.megatest.UUCP> Date: 19 Jun 91 21:33:44 GMT References: <285E75EC.37E7@tct.com> Organization: Megatest Corporation, San Jose, Ca Lines: 14 From article <285E75EC.37E7@tct.com>, by chip@tct.com (Chip Salzenberg): > According to djones@megatest.UUCP (Dave Jones): >> while( member = (SomeType*)List_iter_next(&iter)) > > Aargh. > > This is exactly the downcast hackery that I avoid at all costs. And that is exactly the kind of derisive pedantry that I avoid at all costs. Even though the above technique has proved perfectly adequate in C-code for six years, my posting asked for a better way to do it in C++. Do you have any suggestions, or only insults?