🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
1 messages
1 total messages Started by Jesper Joergensen [ris] Tue, 17 Oct 1989 14:13
A matter of curiosity concernin "good()"
#152
Author: Jesper Joergensen [ris]
Date: Tue, 17 Oct 1989 14:13
22 lines
1022 bytes

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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads