From: AlisdairM (alisdair.meredith_at_[hidden])
Date: 2004-01-14 05:13:11
Russell Hind <rhind_at_[hidden]> wrote in news:bu33vc$6j9$1_at_[hidden]:
> That is the way I've handled it in my own code, but some people don't
> like the use of using namespace, whether in .cpp files or not so that
> is why I offered the 'long-winded' approach.
I can understand objections at the 'global' level, especially when used in
a header file.
However, I can't see an objection when used within a function. In fact,
this is occasionally required eg: enabling ADL on swap.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk