j
k
j a
j l
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
Back to the thread
Back to the list