|
Boost Users : |
From: Boris (boriss_at_[hidden])
Date: 2007-09-23 17:51:35
struct foo { };
boost::ptr_map<int, foo> bar;
bar.insert(1, new foo());
bar.insert(1, new foo());
Does this code leak? Or does bar delete the second instance of foo?
Boris
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net