http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57779
François Dumont <fdumont at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2013-07-04 CC| |fdumont at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from François Dumont <fdumont at gcc dot gnu.org> --- Sure I can take care of it. The Standard is saying that for any sequence type this insert operation shall not take a range pointing back to the sequence. I plan to rather check the libstdc++ limits as most of its containers allow this kind of insertion. For the moment I think that only std::vector and std::deque are in this situation, maybe std::string, I will double check. The proposed use case is indeed a bit more complicated, I will see if I can cover it too.