
27 Jun
2010
27 Jun
'10
8:39 p.m.
Hello, The following code would not compile. struct Key { bool operator<(const Key&) const; virtual void blah() const = 0; }; struct Val { /* */ }; boost::ptr_map<Key, Val> map; Although boost::ptr_set<Key> set; seems to work.