|
1 | 1 | <?xml version='1.0' encoding='utf-8' standalone='no'?> |
2 | 2 | <!DOCTYPE issue SYSTEM "lwg-issue.dtd"> |
3 | 3 |
|
4 | | -<issue num="3109" status="New"> |
| 4 | +<issue num="3109" status="Resolved"> |
5 | 5 | <title><tt>strstreambuf</tt> is copyable</title> |
6 | 6 | <section><sref ref="[depr.strstreambuf]"/></section> |
7 | 7 | <submitter>Jonathan Wakely</submitter> |
|
10 | 10 |
|
11 | 11 | <discussion> |
12 | 12 | <p> |
13 | | -In C++03 <tt>strstreambuf</tt> was not copyable, because <tt>basic_streambuf</tt> wasn't copyable. |
14 | | -In C++11 we made <tt>basic_streambuf</tt> copyable by derived classes, and <tt>strstreambuf</tt> |
15 | | -doesn't define any special members, so it (unintentionally?) became copyable, with completely |
| 13 | +In C++03 <tt>strstreambuf</tt> was not copyable, because <tt>basic_streambuf</tt> wasn't copyable. |
| 14 | +In C++11 we made <tt>basic_streambuf</tt> copyable by derived classes, and <tt>strstreambuf</tt> |
| 15 | +doesn't define any special members, so it (unintentionally?) became copyable, with completely |
16 | 16 | unspecified semantics. |
17 | 17 | <p/> |
18 | | -VC++ and libc++ make it movable not copyable, and libstdc++ still follows C++03, so it's neither |
19 | | -movable nor copyable. Making it movable seems to be the sane option, and consistent with |
| 18 | +VC++ and libc++ make it movable not copyable, and libstdc++ still follows C++03, so it's neither |
| 19 | +movable nor copyable. Making it movable seems to be the sane option, and consistent with |
20 | 20 | <tt>filebuf</tt> and <tt>stringbuf</tt>. |
21 | 21 | </p> |
22 | 22 |
|
23 | 23 | <note>2018-06-18 after reflector discussion</note> |
24 | 24 | <p>Priority set to 4</p> |
| 25 | + |
| 26 | +<note>2025-11-10 Resolved by the removal of <tt>strstreambuf</tt> via paper <paper num="P2867R2"/> in Tokyo, 2024. Status changed: New → Resolved.</note> |
25 | 27 | </discussion> |
26 | 28 |
|
27 | 29 | <resolution> |
|
0 commit comments