seek bug in stringstream?
Lars Gullik Bjønnes
larsbj@lyx.org
Sat Apr 1 00:00:00 GMT 2000
Benjamin Kosnik <bkoz@cygnus.com> writes:
| > gives:
| >
| > -1
| > 5
| > 12
|
| this is correct. if gptr() is not valid, pos_type(-1) is returned.
>From my reading of the source gptr is valid and set to beg.
|
| > 0
| > 5
| > 12
| > 0
| > 5
| > 12
|
| ... these should be -1 not 0.
Why?
Seems completely inlogical.
| I believe CVS libstdc++ is correct now.
You obviously interpret the standard different from me.
Do we have an authorative source?
Lgb
More information about the Libstdc++
mailing list