Improve insert/emplace robustness to self insertion
Jonathan Wakely
jwakely@redhat.com
Mon Jul 4 14:55:00 GMT 2016
On 02/07/16 08:37 +0200, François Dumont wrote:
>I haven't consider in this patch your remark about using allocator to
>build instance so don't hesitate to commit what you want and I will
>rebase.
Here's what I've committed to trunk.
I'm getting nervous about the smart insertion trick to avoid making a
copy, I have a devious testcase in mind which will break with that
change. I'll share the testcase later today.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 22614 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160704/4ddb15f4/attachment.bin>
More information about the Gcc-patches
mailing list