Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!idris.id.dk!jj From: jj@idris.id.dk (Jesper Joergensen [ris]) Newsgroups: gnu.g++.lib.bug Subject: A matter of curiosity concernin "good()" Message-ID: <8910171213.AA26865@idris.id.dk> Date: 17 Oct 89 14:13:42 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 22 To: Doug Lea (GNU libg++ mailing list) From: Jesper Jorgensen Department of Computer Science Technical University of Denmark Thanks for your very quick response (I really didn't expect it so soon), now I know what conventions I have to follow. However, as far as I can see there is no reason for making the construction: if (good()) { while (get(ch)) { ... } ... } since "get(ch)" tests for "good()" the following should be sufficient: while (get(ch)) { ... } Just for reasons of effeciency, then I won't bother you anymore. -JJ