Section: D.14.5.4 [depr.strstream.oper] Status: C++20 Submitter: Tim Song Opened: 2018-06-30 Last modified: 2021-02-25 10:48:01 UTC
View all issues with C++20 status.
strstream::rdbuf has the same issue with a missing const_cast on &sb.Somewhat amusingly, istrstream::rdbuf and ostrstream::rdbuf got this right, but each with a different style (see issue 252).
[2018-07-20 Status to Tentatively Ready after five positive votes on the reflector.]
[2018-11, Adopted in San Diego]
This wording is relative to N4750.
Change D.14.5.4 [depr.strstream.oper] p1 as indicated:
strstreambuf* rdbuf() const;
-1- Returns: &sb.