
| -----Original Message----- | From: boost-bounces@lists.boost.org | [mailto:boost-bounces@lists.boost.org] On Behalf Of Darren Cook | Sent: 19 February 2004 23:49 | To: Boost mailing list | Subject: Re: [boost] Re: algorithms namespace | | I'm okay with writing std::cout or std::for_each. It only | adds 5 chars which | isn't enough to disturb me. If the standard library had instead been | namespace "standard" I'd probably always write "using | namespace standard" at | the top of all my programs. What is your objection to writing #include <iostream> using std::cout; using std::for_each; // etc either locally to a block or procedure, or with wider scope? IMHO this also helpfully documents for the user where things are coming from, avoids the clutter from full file specifications, and avoids the pitfalls with name clashes and selection surprises that 'using namespace std & boost etc' creates. If things move from boost:: to std::, say, I'd prefer to see the changes documented as explicitly as possible. Paul Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539 561830 +44 7714 330204 mailto: pbristow@hetp.u-net.com