
20 May
2007
20 May
'07
9:24 p.m.
Is there any way to use boost::shared_ptrs as keys in associative containers and perform look up using raw pointers? What I want is something similar to this: std::map<boost::shared_ptr<int>, std::string> m; int i; m.find(&i);