|
Boost : |
Subject: Re: [boost] Removing _1 from the global namespace (again)
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2013-12-14 16:06:43
> The compelling reason is that if it remains in the global namespace no
> other use of '_n' can be conveniently hoisted into the current scope at
> the same time via a 'using namespace xxx'. Whereas if it is in its own
> namespace, as in retrospect it should have been, then the flexibility of
> hoisting the use of '_n' from whatever library, can be preserved.
+1
As a frequent Boost.Phoenix user (and one who dislikes their 'argN'
alternative), I run into this often.
Regards,
Nate
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk