[v3 PATCH] PR libstdc++/78389

Ville Voutilainen ville.voutilainen@gmail.com
Sun Jan 15 17:01:00 GMT 2017


On 15 January 2017 at 18:42, Tim Song <t.canens.cpp@gmail.com> wrote:
> On rereading the patch today, the size calculation for merge() appears
> to be backwards. [__first2, __last2) consists of the nodes not
> transferred into *this, so the new size of __x should be __dist while
> this->size() should be incremented by (__orig_size - __dist).

Ah, yes, I'm an idiot. Fixing...



More information about the Libstdc++ mailing list