Home

john wrote:
> In TC++PL3, in 21.3.3, the following definition of ios_base is provided:
>
> class ios_base{
> public:
> // ...
>
> typedef implementation_defined2 iostate;
> static const iostate badbit, // stream is corrupted
> eofbit, // end-of-file seen
> failbit, // next operation will fail
> ==> goodbit; // goodbit==0
>
> // ...
> };
>
>
> What does "goodbit==0" exactly mean?

Means literally that everything is ok. 'goodbit' has no bits set and therefore
means that the IO state is not in error.

previous
next

Re: throw operator
Re: concise code (beginner)
Re: os.path.getmtime() and compare with a date type
Re: super() doesn't get superclass
Re: How does super() work?
Mimo Wszystko
Rodzic Po Ludzku
Nasze Dzieci
Dzieci Niczyje
Fundacja Sloneczko