
Eric Niebler wrote:
dan marsden wrote:
Eric Niebler wrote:
dan marsden wrote:
If I now write:
if_(_1 == _2)[stuff...] // stuff... is unimportant
OK, I've added some ADL-blocking namespaces and the appropriate using directives, so hopefully your problem is fixed now. Please let me know. Ok, I've given this a quick go with 2 compilers. Intel works fine with an unqualified if_ as above.
Unfortunately gcc 4.1.2 fails, still picking up the proto boost::proto::control::if_.
You'll have to send me your code.
<code received> Ah, I see the problem. Proto::extends was pulling in boost::proto as an associated namespace in a very round-about sort of way. Should work now. And I'll add a work item to move /all/ UDTs out of the boost::proto namespace. -- Eric Niebler Boost Consulting www.boost-consulting.com