Boost logo

Boost :

Subject: Re: [boost] unordered_map 32bit VS 64bit
From: Avikam Bara-nes (avikamb_at_[hidden])
Date: 2012-02-06 04:10:14


Hi,
Sorry but I"m a bit confuse,

   1. What should I do ?
   2. Is there a solution ?
   3. Is there a workaround ?

Thanks in advance.

On Thu, Jan 26, 2012 at 6:26 PM, Daniel James <dnljms_at_[hidden]> wrote:

> On 26 January 2012 12:46, Andrey Semashev <andrey.semashev_at_[hidden]>
> wrote:
> >
> > I don't see why it shouldn't do better than required by the standard.
> > It's quite normal for Boost components to extend the standard and
> > provide superior solutions.
>
> A few emails ago you were worried about wasted cycles.
>
> > Anyway, if existing functional/hash functions are not suitable for the
> > task, we can add the bit mixing wrapper and recommend its usage with
> > Boost.Unordered.
>
> boost::hash should work well with std::unordered_map as it's defined
> in the standard and boost::unordered_map should work well with
> std::hash as it's defined in the standard. If that isn't the case then
> they're failures. These are generic components, they should just work
> without a wrapper or any such fuss.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>

-- 
Avikam Bara-Nes

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk