Boost logo

Boost Users :

Subject: Re: [Boost-users] [Proto] POD expression can't be used in std::vector
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2008-11-23 14:25:50

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<class T, typename Dummy = bp::is_proto_expr>
> 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 ?

Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at