Annex D (normative) Compatibility features [depr]

D.13 char* streams [depr.str.strstreams]

D.13.2 Class strstreambuf [depr.strstreambuf]

D.13.2.4 strstreambuf overridden virtual functions [depr.strstreambuf.virtuals]

Table 151: newoff values [tab:depr.strstreambuf.seekoff.newoff]
Condition
newoff Value
way == ios​::​beg
0
way == ios​::​cur
the next pointer minus the beginning pointer (xnext - xbeg).
way == ios​::​end
seekhigh minus the beginning pointer (seekhigh - xbeg).