[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-07-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 Jonathan Wakely changed: What|Removed |Added Target Milestone|9.0 |7.4 --- Comment #13 from Jonathan

[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-07-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 --- Comment #12 from Jonathan Wakely --- Author: redi Date: Wed Jul 4 13:59:42 2018 New Revision: 262411 URL: https://gcc.gnu.org/viewcvs?rev=262411=gcc=rev Log: PR libstdc++/86127 avoid unnecessary allocator conversions There is no need to

[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-07-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 --- Comment #11 from Jonathan Wakely --- Author: redi Date: Wed Jul 4 11:46:43 2018 New Revision: 262393 URL: https://gcc.gnu.org/viewcvs?rev=262393=gcc=rev Log: PR libstdc++/86127 avoid unnecessary allocator conversions There is no need to

[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-06-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 --- Comment #10 from Jonathan Wakely --- As I said in comment 6, I've already removed the copies that forward_list does on destruction. As I said in comment 3, there are no copies in the default constructor, they're in the initializer-list

[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-06-13 Thread fidget324 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 --- Comment #9 from Scott Constable --- (In reply to Jonathan Wakely from comment #8) > (In reply to Scott Constable from comment #7) > > (In reply to Jonathan Wakely from comment #1) > > > The allocator requirements say that move construction

[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-06-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 --- Comment #8 from Jonathan Wakely --- (In reply to Scott Constable from comment #7) > (In reply to Jonathan Wakely from comment #1) > > The allocator requirements say that move construction must be equivalent to > > copy construction, and

[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-06-13 Thread fidget324 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 --- Comment #7 from Scott Constable --- (In reply to Jonathan Wakely from comment #1) > The allocator requirements say that move construction must be equivalent to > copy construction, and allocators should be cheap to copy anyway. I don't >

[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-06-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 Jonathan Wakely changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-06-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Wed Jun 13 15:14:48 2018 New Revision: 261554 URL: https://gcc.gnu.org/viewcvs?rev=261554=gcc=rev Log: PR libstdc++/86127 avoid unnecessary allocator conversions There is no need to

[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-06-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-06-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > Also your test is flawed. > > (In reply to Scott Constable from comment #0) > > forward_list test > > == > > These all come from the

[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-06-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/86127] STL containers do not satisfy container.requirements.general clause 8

2018-06-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86127 --- Comment #1 from Jonathan Wakely --- The allocator requirements say that move construction must be equivalent to copy construction, and allocators should be cheap to copy anyway. I don't consider this a bug.