Annex D (normative) Compatibility features [depr]

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

D.12.2 Class strstreambuf [depr.strstreambuf]

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

Table 155: 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).