Topic: <string> and getline


Author: Adrian Robson <adrian.robson@unn.ac.uk>
Date: 1996/02/08
Raw View
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
]





Author: clamage@Eng.Sun.COM (Steve Clamage)
Date: 1996/02/08
Raw View
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. ]