From: Slawomir Lisznianski (public_at_[hidden])
Date: 2005-12-25 22:41:07
I've been using ptr_map lately and have a few questions regarding its
Below is a signature of `insert' function as declared in ptr_map_adapter:
std::pair<iterator,bool> insert( key_type& k, value_type x );
Why is `k' a non-const reference?
To imply ownership transfer, couldn't `x' be of
`std::auto_ptr<value_type>' type instead?
What happend to std::pair as an argument of insert? Was symmetry with
std::map dropped for a reason here?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk