24 Aug
2012
24 Aug
'12
3:33 p.m.
... 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