Mail Archives: djgpp/1999/01/25/03:12:57
On Sun, 24 Jan 1999 21:14:38 -0500, in comp.os.msdos.djgpp you wrote:
> Repost (first apparently got eaten -- if you saw it let me know)
>
> The iostreams library appears to be missing skipws. Neither
>
> some_istream.skipws();
>
> nor
>
> some_istream << skipws();
>
> work. Yes, I included iostream.h and iomanip.h.
>
> I double checked in Stroustrup 3rd Ed. and I definitely have not screwed
> up. LGP2811B.ZIP is screwed up.
1) Even if the manipulator iosbase& skipws(ios_base&) would be
implemented the correct syntax would be
skipws(some_stream);
skipws() is no extractor/inserter.
2) skipws() is not implemented but you may have the effect by
some_stream.setf(ios::skipws);
Regards
Horst
- Raw text -