Title
Underspecification of strstreambuf::seekoff
Status
nad
Section
[depr.strstreambuf.virtuals]
Submitter
Matt Austern

Created on 1998-08-18.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

The LWG agrees that seekoff() is underspecified, but does not wish to invest effort in this deprecated feature.

Date: 1998-08-18.00:00:00

The standard says how this member function affects the current stream position. (gptr or pptr) However, it does not say how this member function affects the beginning and end of the get/put area.

This is an issue when seekoff is used to position the get pointer beyond the end of the current read area. (Which is legal. This is implicit in the definition of seekhigh in D.7.1, paragraph 4.)

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg151
1998-08-18 00:00:00admincreate