This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.

65. Underspecification of strstreambuf::seekoff

Section: D.12.2.4 [depr.strstreambuf.virtuals] Status: NAD Submitter: Matt Austern Opened: 1998-08-18 Last modified: 2016-02-10

Priority: Not Prioritized

View all other issues in [depr.strstreambuf.virtuals].

View all issues with NAD status.


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


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