PR 44436 Associative containers emplace/emplace_hint
Paolo Carlini
paolo.carlini@oracle.com
Fri Sep 14 20:44:00 GMT 2012
On 09/14/2012 10:07 PM, François Dumont wrote:
> Hi
>
> Here is a patch to add emplace/emplace_hint on associative
> containers in C++11 mode.
Ah, excellent! I will review the patch over the next couple of days.
> I did some refactoring to use as much of the same code between
> insert and emplace methods..
>
> I have also change map::operator[] to now use the emplace logic in
> C++11 so that we only need the value type to be default constructible.
About this, can I ask you to likewise add completely similar testcases too?
Thanks!
Paolo.
More information about the Libstdc++
mailing list