class C : public B
{
public:
void C::Test();
};
What is the point of specifying C in the declaration of the member function?
class C : public B
{
public:
void C::Test();
};
What is the point of specifying C in the declaration of the member function?
This is only neccessary when defining the method outside of the class:
class C : public B
{
public:
void Test();
};
void C::Test() { ... }
Not only there's no point, it is downright illegal (see 8.3/1 in the language standard). In general in C++ language qualified names are allowed only when you are referring to a previously declared entity, but not when you are introducing a new entity (there are some exceptions from this rule, but none of them apply here).
The code you posted would require a diagnostic message from any conforming compiler, since your member function declaration is invalid.