🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Adrian Robson Thu, 08 Feb 1996 16:34
<string> and getline
#3293
Author: Adrian Robson
Date: Thu, 08 Feb 1996 16:34
12 lines
1094 bytes
There does not appear to be a getline function
in the draft standard for <string>.
However, in Plauger's book on the standard libraries, 
his version of <string> does have a getline function.
What is the intention of the standard? 

Thanks for any clarification of this matter.

[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy is
  summarized in http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
]
Re: <string> and getline
#3305
Author: Steve Clamage
Date: Thu, 08 Feb 1996 19:44
22 lines
1458 bytes
In article 7DE1@unn.ac.uk, Adrian Robson <adrian.robson@unn.ac.uk> writes:

>There does not appear to be a getline function
>in the draft standard for <string>.
>However, in Plauger's book on the standard libraries, 
>his version of <string> does have a getline function.
>What is the intention of the standard? 


I believe the string template "getline" was accidently omitted from
the April 1995 draft. It is in the September 1995 draft.

BTW, Plauger's book represents a snapshot of the draft standard as
of about March 1994. Some library features have changed substantially since
then, although some areas haven't changed much.

---
Steve Clamage, stephen.clamage@eng.sun.com
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  Moderation policy:
  http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
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