I've got a namespace, with a class inside. As shown below;
class testClass {
public:
    testClass() { std::cout << "neat" << std::endl; };
    ~testClass() { };
    void print() {
        std::cout << "printOne" << std::endl;
    }
};
namespace test {
    class testClass;
    class testClassTwo {
    public:
        void printTwo() {
            std::cout << "printTwo" << std::endl;
        }
    };
}
I know that I can inherit from the testClass using the normal way of
class testClassTwo : public testClass
But I've seen something along the line of what's within the namespace
class testClass;
I haven't been able to find a solid explanation of what this actually does, i'm assuming inheriting something from the testClass class.
I understand the simple stuff about namespaces such as;
test::testClassTwo classobj;
classobj.printTwo();
I can also compile; test::testClass;
but can't actually do anything with it.
Would anyone be able to forward me to some reading material or a quick explanation of what's actually going on when I do this?
 
     
     
     
    