Created on 2018-05-02.00:00:00 last changed 1 month ago
[ 2025-11-10 Resolved by the removal of strstreambuf via paper P2867R2 in Tokyo, 2024. Status changed: New → Resolved. ]
[ 2018-06-18 after reflector discussion ]
Priority set to 4
In C++03 strstreambuf was not copyable, because basic_streambuf wasn't copyable. In C++11 we made basic_streambuf copyable by derived classes, and strstreambuf doesn't define any special members, so it (unintentionally?) became copyable, with completely unspecified semantics.
VC++ and libc++ make it movable not copyable, and libstdc++ still follows C++03, so it's neither movable nor copyable. Making it movable seems to be the sane option, and consistent with filebuf and stringbuf.| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2025-11-11 15:50:46 | admin | set | messages: + msg15732 |
| 2025-11-11 15:50:46 | admin | set | status: new -> resolved |
| 2018-06-19 05:49:11 | admin | set | messages: + msg9947 |
| 2018-05-02 00:00:00 | admin | create | |