seek bug in stringstream?

Nathan Myers ncm@nospam.cantrip.org
Sat Apr 1 00:00:00 GMT 2000


On Sun, Mar 26, 2000 at 03:02:21AM +0200, Lars Gullik Bjønnes wrote:
> The standard does not require a return value of -1 for a
> "stringstream object that is constructed by default" so this is then a
> decision of the implementation which I think is not valid.

I am inclined to agree with Lars.  The stream is empty, but it
has a valid position that may be "seeked" to, later.   

Nathan Myers
ncm@nospam.cantrip.org



More information about the Libstdc++ mailing list