Problem with iostream clear(), gcc version 3.0 20010223

Phil Edwards pedwards@disaster.jaj.com
Sat Feb 24 17:08:00 GMT 2001


On Sat, Feb 24, 2001 at 06:21:09PM -0500, Craig Rodrigues wrote:
>  
>       std::cin.clear(5);

clear() takes a variable of type iostate.

5 is not of type iostate.

What's the problem?



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 Libstdc++ mailing list