I was just wondering, is it possible to put the name of a class into a namespace?
This is a discussion on Namespace question within the C++ Programming forums, part of the General Programming Boards category; I was just wondering, is it possible to put the name of a class into a namespace?...
I was just wondering, is it possible to put the name of a class into a namespace?
Yes.The obviousness of the answer makes me think that's not what you're asking, though. Can you be more specific?Code:namespace ns { class mc { }; }