This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: seek bug in stringstream?


larsbj@lyx.org (Lars Gullik Bjønnes) writes:

| | ... 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?

At the danger of comming forward as a bit daft... I am feeling a bit
ignored here, but would really like to know why tellp should return -1
and not 0 for a

	ostringstream ost;
	cout << ost.tellp() << endl;

to me this makes no sense.

	Lgb

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