Joel Falcou wrote:
Eric Niebler a écrit :
Looks like the intel compiler has a bug with ADL. You can work around it by changing the definition of cmplx to this:
template
struct cmplx ... Note the extra Dummy template parameter, which will cause ADL to find the operators defined in Proto's namespace.
Perfect as usual :) This did the trick. I'll propagate this fix to all my terminal entity then. Should I report this to Intel bug system however ?
You should, if you (or someone) can confirm it happens on Intel 11.0
also. Here is a simple repro:
namespace N
{
struct S {};
template