Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Hash and enums
From: Filip Konvička (filip.konvicka_at_[hidden])
Date: 2012-08-24 11:33:51


>>> ...
>> 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.

Sure enough, it does not. g++ is using argument-dependent lookup; my
application code encloses enum definitions in dedicated namespaces and
some enums are defined in classes. In all such cases, my code
understandably does not work. Do you have any idea how to overcome this?

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