I'm planning to use U++ together with another class lib. But I fear that I will get name clashes because the other library also defines classes named String and Point etc.
Putting all U++ symbols into a namespace (e.g. "namespace upp {..}) would avoid this kind of problems.
Good idea?
Andreas
PS: I could also blame the authors of other class lib for not using namespace. But this lib has been designed before namespaces were introduced to C++ (it's very old) and the class lib is no longer supported.
Well, I am glad somebody opens this topic.
To tell the truth, we were considering "upp" namaspecs many times over th years, but always came to conclusion that the only "benefit" it would have would be adding "using upp;" into all sources...
At the times of VC6.0 (which are now gone for good), there was also the problem that some of our template techniques make compiler even more confused.. (no koening lookup available).
Therefore we have deferred this until first problems appear Which seems to be now....