[Bug libstdc++/48635] [C++0x] unique_ptr moves the deleter instead of copying it

2011-04-17 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48635 --- Comment #10 from paolo at gcc dot gnu.org 2011-04-17 21:46:23 UTC --- Author: paolo Date: Sun Apr 17 21:46:20 2011 New Revision: 172620 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172620 Log: 2011-04-17 Daniel Krugler Pa

[Bug libstdc++/48635] [C++0x] unique_ptr moves the deleter instead of copying it

2011-04-17 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48635 --- Comment #9 from paolo at gcc dot gnu.org 2011-04-17 21:46:15 UTC --- Author: paolo Date: Sun Apr 17 21:46:11 2011 New Revision: 172619 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172619 Log: 2011-04-17 Daniel Krugler Pao

[Bug libstdc++/48635] [C++0x] unique_ptr moves the deleter instead of copying it

2011-04-17 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48635 --- Comment #8 from Daniel Krügler 2011-04-17 20:12:09 UTC --- (In reply to comment #7) > Ok... Do we have testcases for that? I have two test cases for the *assignment* situation, I invented them out of my head and I hope the code below does no

[Bug libstdc++/48635] [C++0x] unique_ptr moves the deleter instead of copying it

2011-04-17 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48635 --- Comment #7 from Paolo Carlini 2011-04-17 19:44:51 UTC --- Ok... Do we have testcases for that? By the way, I noticed that in the templated *constructor* we have been using D instead of E in the forward, and that doesn't seem correct vs the F

[Bug libstdc++/48635] [C++0x] unique_ptr moves the deleter instead of copying it

2011-04-17 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48635 --- Comment #6 from Daniel Krügler 2011-04-17 19:18:01 UTC --- (In reply to comment #5) > Done. Fixed mainline and 4_6-branch. Looks good, thanks, but I just recognize that there is a library issue in regard to the template version. The FDIS cor

[Bug libstdc++/48635] [C++0x] unique_ptr moves the deleter instead of copying it

2011-04-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48635 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug libstdc++/48635] [C++0x] unique_ptr moves the deleter instead of copying it

2011-04-15 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48635 --- Comment #4 from paolo at gcc dot gnu.org 2011-04-16 00:55:59 UTC --- Author: paolo Date: Sat Apr 16 00:55:53 2011 New Revision: 172533 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172533 Log: 2011-04-15 Daniel Krugler Pao

[Bug libstdc++/48635] [C++0x] unique_ptr moves the deleter instead of copying it

2011-04-15 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48635 --- Comment #3 from paolo at gcc dot gnu.org 2011-04-16 00:55:49 UTC --- Author: paolo Date: Sat Apr 16 00:55:43 2011 New Revision: 172532 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172532 Log: 2011-04-15 Daniel Krugler Pao

[Bug libstdc++/48635] [C++0x] unique_ptr moves the deleter instead of copying it

2011-04-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48635 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/48635] [C++0x] unique_ptr moves the deleter instead of copying it

2011-04-15 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48635 --- Comment #1 from Daniel Krügler 2011-04-15 21:44:56 UTC --- (In reply to comment #0) The exactly same problem exists for the specialization std::unique_ptr.