|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-12-12 22:01:28
"Jonathan Turkanis" <technews_at_[hidden]> writes:
> I'm toying with the idea of allowing $1, $2, ... as alternatives to _1, _2,
> .... on platforms which support the dollar sign in identifiers. I assume the
> universal response to this would be that it is unworkable, dangerous, ugly
> and possibly a felony.
>
> Does anyone have a better idea?
Bite the bullet and use qualification. That's what I did with MPL to
stay out of the way of bind's placeholders, which were in the unnamed
namespace and clashed with everything. The code still looks good
enough to my eye.
-- Dave Abrahams 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