This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Where is noskipws


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]