Re: [boost] Re: [review results] hash functions accepted

22 Mar
2005
22 Mar
'05
5:31 p.m.
In-Reply-To: <d1p2mg$mfk$1@sea.gmane.org> nesotto@cs.auc.dk (Thorsten Ottosen) wrote (abridged):
There is a small utility in the Pointer Container library which is more general that hash_ptr ect. You can simply say
unordered_set< MyType*, indirect_fun< boost::hash<MyType> >,
indirect_fun< std::equal<MyType set;
for the rare cases where the index is a pointer.
OK. It might be worth mentioning in the documentation. -- Dave Harris, Nottingham, UK
7390
Age (days ago)
7390
Last active (days ago)
0 comments
1 participants
participants (1)
-
brangdon@cix.compulink.co.uk