I decided to throw out boost from my project. Any way to have best implement of container instead of ptr_map? As I know it holds a smart pointer as a value. Maybe QMap<Key, std::shared_ptr<Type*>> could do that?
I decided to throw out boost from my project. Any way to have best
Share
What’s wrong with
std::map<Key, std::shared_ptr<Type>>? Advantages overQMap:QMapis a skip list, so expected time bounds are the same)QMapusesintfor sizes)boost::ptr_map