Boost logo

Boost :

From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2004-02-02 17:41:49


Andy Little wrote:
> "Daniel Wallin" <dalwan01_at_[hidden]> wrote
>
>>Andy Little wrote:
>>
>>>"David Abrahams" <dave_at_[hidden]> wrote ...
>
>
>> > I do see ... "Dont worry about the user" though !
>>
>>Yes, don't worry about the possibility that some user might decide to
>>bring every name in reach into the global namespace. Prehaps you
>>consider other peoples bad practice your problem, but it certainly isn't
>>mine and I'm not willing to pay for it.
>
>
> Presumably you would consider it a grave offence if examples of this bad
> practise 'using namespace mpl;' were to be found in the boost library
> itself?

Yes, unless it's done locally in a function or a separate compilation
unit of course. The point is that the user that introduces the name
clashes by bringing in the names into the same namespace should deal
with the problem.

-- 
Daniel Wallin

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk