Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Hash and enums
From: Filip Konvička (filip.konvicka_at_[hidden])
Date: 2012-08-22 07:30:56


>> In Boost 1.51, it looks to me like boost::hash_value no longer knows how to
>> handle enums anymore.
>
> Sorry, I prevented hashing by implicit casts in this release, I didn't
> realise it would break enum support.

And that's fine, I always prefer to have fewer implicit casts. I just
wanted to make sure that my code makes sense.

>> ...
> I think that should work. I'll see if can get a portable version in
> trunk as soon as possible.

I only tested my code with MSVC 2010. I hope it works with g++ as well.

Thanks,
Filip


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net