否则出错:
cannot declare member function ‘static int Foo::bar()’ to have static linkage
参考:http://cplusplus
WRONG
WORKS
ALSO WORKS
否则出错:
cannot declare member function ‘static int Foo::bar()’ to have static linkage
参考:http://cplusplus
WRONG
WORKS
ALSO WORKS