
3 Jun
2008
3 Jun
'08
12:37 p.m.
Thorsten Ottosen escreveu:
iterator insert( iterator, ref_pair
). such that we can insert an element from another ptr_map.
Would this be satisfactory?
Hi, I was thinking of something along the lines of
iterator insert(iterator, const key_type &key, std::auto_ptr<T> ptr);
and
iterator insert(iterator, const key_type &key, mapped_type val);
to mimic the insert overload that doesn't take the iterator.
And while you're at it, I've noticed that the member
std::pair