http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55123
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-10-29 AssignedTo|unassigned at gcc dot |redi at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-29 18:06:39 UTC --- This is basically the same problem as prevents std::vector<const int>, but since using an allocator for that shared_ptr(unique_ptr&&) constructor is an implementation detail and not required I suppose it should work. The problem is that (unlike boost::shared_ptr) we don't have separate _Sp_counted_deleter and _Sp_counted_deleter_with_allocator.