Original Post
Is there some way to un-use a namespace?
So, for example, you have
namespace one {
class vector;
}
namespace two {
class vector;
}
using namespace one;
using namespace two;
vector x; //all confused
The actual using namespace one,two bit isn''t in my code, and it would be a real pain to modify all the code to not have that in it. Are there any other solutions? (something like #undef except for namespaces)
(im using vc7.1 if someone wants to give me a compiler-specific solution)