Hello,
<http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#488>),
[...]
The morale? Well, I am not sure. Stop using C++, as it is not a language you want to mess around with; bite the bullet and avoid unnamed and local enums; maybe it would also have been more clever to hide the Any's operator == template function in namespace com::sun::star::uno...
Argh. What about lobbying the gcc people to consider option 2 or 3 from the referenced C++ language issue? I mean, the whole point of SFINAE is to have templates fail gracefully in cases where actual instantiations are not used (I know, the case in point is slightly different in nature, though not in spirit).
Since member template functions are supported by all target compilers now, this can hopefully be solved by shifting all binary operators with left side Any to class Any?
Might help in specific cases, but won't solve the general problem. Also, those changes would be incompatible, strictly speaking.
-Stephan
regards, --Daniel
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
