www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/25/22:42:06

Message-Id: <3.0.6.32.19990125224129.0086e380@pop.netaddress.com>
X-Sender: pderbysh AT pop DOT netaddress DOT com
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32)
Date: Mon, 25 Jan 1999 22:41:29 -0500
To: djgpp AT delorie DOT com
From: Paul Derbyshire <pderbysh AT usa DOT net>
Subject: Re: Bug in iostreams!!
In-Reply-To: <36ac2427.30559723@berlin.snafu.de>
References: <3 DOT 0 DOT 6 DOT 32 DOT 19990124211438 DOT 0081f8a0 AT pop DOT netaddress DOT com>
<3 DOT 0 DOT 6 DOT 32 DOT 19990124211438 DOT 0081f8a0 AT pop DOT netaddress DOT com>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

At 08:11 AM 1/25/99 GMT, you wrote:
>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.

You sure? My copy of Stroustrup indicates otherwise...that the argument is
optional and that it can be used as a manipulator.

>2) skipws() is not implemented...

It should be. LGP2811 should conform to the new ANSI standard.

> but you may have the effect by
>
>	some_stream.setf(ios::skipws);

Thanks.

-- 
   .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
-()  <  circles, and bark is not smooth, nor does lightning travel in a
   `*'  straight line."    -------------------------------------------------
        -- B. Mandelbrot  |http://surf.to/pgd.net
_____________________ ____|________     Paul Derbyshire     pderbysh AT usa DOT net
Programmer & Humanist|ICQ: 10423848|

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019