
28 Jun
2010
28 Jun
'10
2:39 a.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.