id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4544,shared_ptr seems to be mistake in unordered_set,showern ,Daniel James,"class Abc { }; int main() { boost::shared_ptr a(new Abc); boost::shared_ptr b(new Abc); unordered_set > xx; xx.insert(a); xx.insert(b); // always get 1 here, cout << xx.hash_function()(a) << "" "" << xx.hash_function() << endl; return 0; } judging two objects pointed by shared_ptr should compare the address of them, but how hash_function() always returns 1? ",Bugs,closed,Boost 1.47.0,hash,Boost 1.44.0,Problem,fixed,,