Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2007-07-04 17:43:32


dan marsden wrote:
> If I now write:
>
> if_(_1 == _2)[stuff...] // stuff... is unimportant
>
> Unfortunately proto::if_ is pulled in. This means I have to qualify phoenix::if_, which looks a bit too verbose for a lambda library. I think this could be addressed by moving the stuff that does not pertain to expression tree generation out of the boost::proto namespace, and into another boost::proto::other_stuff namespace, so the chances of it being pulled during tree construction are reduced, and I can have my unqualified syntax back. Is this possible? Or have I missed something on my side that could prevent this happening?

OK, I've added some ADL-blocking namespaces and the appropriate using
directives, so hopefully your problem is fixed now. Please let me know.

-- 
Eric Niebler
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk