Subject: Re: [boost] namespace boost?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-01-16 06:17:59
On 15/01/2011 19:58, Robert Ramey wrote:
> Certain names like join, zip, map, copy, etc. ... apear in multiple
> libraries. I would like to use
> "using namespace boost" but then I'm afraid that using something like copy
> will be ambigiuos
boost::copy is a range-based version of std::copy.
It's not ambiguous because it doesn't have the same arity.
Anyway, it's probably not a good idea to do "using namespace boost",
just like you shouldn't do "using namespace std"...
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk