Hello
Given this:
map<int, mystruct> m;
m[4] = item;
item.id++;
m[2] = item;
How can I get a direct refrence to the location of the just inserted item?
(which is now managed by the map)
I would do a find() then get a reference to its "second".
Same question <list> <vector> how can I get reference directly after
insertion? is the back() / front() the only way for this case?
--
Elias