Where is noskipws

Phil Edwards pedwards@disaster.jaj.com
Mon Nov 27 14:16:00 GMT 2000


On Mon, Nov 27, 2000 at 03:50:41PM -0600, Davy Durham wrote:
> Question:
> 
>     Why isn't "cin >> noskipws;" valid with gcc 2.95.2
> 
> Is the iostream lib still incomplete?

The one shipped with 2.95.2 certainly was.

    % cat t.cc 

    #include <iostream>
    #include <iomanip>

    void f()
    {
            std::cin >> std::noskipws;
    }

    % g++ -c t.cc 
    % g++ -v 2>&1 | grep version
    gcc version 2.97 20001122 (experimental)
    % 

Please take a look on http://gcc.gnu.org/ for the November 13
announcement; the development version of GCC uses a new library.


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.


More information about the Gcc mailing list