Explanation
實例:
…
class Hello {
…
void Hello::hello();
…
};
…
提示(g++):
Hello.h:17: error: extra qualification 'Hello::' on member 'hello'
這通常是拷貝代碼引起的,應改為:
…
class Hello {
…
void hello();
…
};
…
Reference
http://hi.baidu.com/zjugator/blog/item/77bb6cec02bee22163d09f7d.html
-
柳 大·Poechant:Blog.CSDN.net/Poechant