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.