Created on 2018-06-30.00:00:00 last changed 45 months ago
Proposed resolution:
This wording is relative to N4750.
Change [depr.strstream.oper] p1 as indicated:
strstreambuf* rdbuf() const;-1- Returns: const_cast<strstreambuf*>(&sb).
[ 2018-11, Adopted in San Diego ]
[ 2018-07-20 Status to Tentatively Ready after five positive votes on the reflector. ]
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).History | |||
---|---|---|---|
Date | User | Action | Args |
2021-02-25 10:48:01 | admin | set | status: wp -> c++20 |
2018-11-12 04:39:29 | admin | set | messages: + msg10197 |
2018-11-12 04:39:29 | admin | set | status: voting -> wp |
2018-10-08 05:13:59 | admin | set | status: ready -> voting |
2018-07-20 21:06:57 | admin | set | messages: + msg10035 |
2018-07-20 21:06:57 | admin | set | status: new -> ready |
2018-06-30 06:01:39 | admin | set | messages: + msg10000 |
2018-06-30 00:00:00 | admin | create |