|
Boost : |
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-10-07 12:43:44
> ptr_map<>::insert(key, value) function is taking first argument by non-const
> reference. Is it missing 'const' there?
No, its an exception-safety issue. if evaluating the first expression could
throw, we could leak.
-Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk