|
Boost : |
From: Johan Torp (johan.torp_at_[hidden])
Date: 2007-05-20 17:24:57
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);
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk