Boost logo

Boost :

From: Dave Harris (brangdon_at_[hidden])
Date: 2005-03-22 12:31:16

In-Reply-To: <d1p2mg$mfk$1_at_[hidden]>
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, gregod at, cpdaniel at, john at