Boost logo

Boost :

Subject: Re: [boost] [gil] Pixel Hasher
From: Harg Tholan (hargtholan_at_[hidden])
Date: 2013-03-26 09:51:23

Do you mean that unordered_map can automatically instantiate a hashing
function for any type of pixel? I have tried this:


And VC11 will spit:

error C2664: 'boost::hash_value' : cannot convert parameter 1 from 'const
boost::gil::rgb8_pixel_t' to 'std::type_index'


2013/3/26 Christian Henning <chhenning_at_[hidden]>

> >
> > I've been looking for a hashing function for PixelBased types... with no
> > succes, so I created one. Does this have any value for users?
> How about the one supplied by unordered_map?
> Christian
> _______________________________________________
> Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at