
Andy Little wrote:
"Daniel Wallin" <dalwan01@student.umu.se> wrote
Andy Little wrote:
"David Abrahams" <dave@boost-consulting.com> 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