I'm guessing you've done something like:
class Foo{ static void Bar();};...static void Foo::Bar(){ ...}
This is incorrect. You don't need the second "static".
本文共 319 字,大约阅读时间需要 1 分钟。
I'm guessing you've done something like:
class Foo{ static void Bar();};...static void Foo::Bar(){ ...}
This is incorrect. You don't need the second "static".
转载于:https://my.oschina.net/sfshine/blog/495252