From: Dave Harris (brangdon_at_[hidden])
Date: 2005-03-22 12:31:16
nesotto_at_[hidden] (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.
It might be worth mentioning in the documentation.
-- Dave Harris, Nottingham, UK
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk