|
|
|
@ -347,13 +347,13 @@ struct DLL_API TestStaticClass
@@ -347,13 +347,13 @@ struct DLL_API TestStaticClass
|
|
|
|
|
{ |
|
|
|
|
static int Add(int a, int b); |
|
|
|
|
|
|
|
|
|
static int GetOneTwoThree() { return 123; } |
|
|
|
|
static int GetOneTwoThree(); |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
|
|
|
|
|
static int _Mult(int a, int b) { return a * b; } |
|
|
|
|
static int _Mult(int a, int b); |
|
|
|
|
|
|
|
|
|
static int GetFourFiveSix() { return 456; } |
|
|
|
|
static int GetFourFiveSix(); |
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
TestStaticClass(); |
|
|
|
@ -361,6 +361,12 @@ private:
@@ -361,6 +361,12 @@ private:
|
|
|
|
|
|
|
|
|
|
int TestStaticClass::Add(int a, int b) { return a + b; } |
|
|
|
|
|
|
|
|
|
int TestStaticClass::GetOneTwoThree() { return 123; } |
|
|
|
|
|
|
|
|
|
int TestStaticClass::_Mult(int a, int b) { return a * b; } |
|
|
|
|
|
|
|
|
|
int TestStaticClass::GetFourFiveSix() { return 456; } |
|
|
|
|
|
|
|
|
|
struct DLL_API TestStaticClassDerived : TestStaticClass |
|
|
|
|
{ |
|
|
|
|
static int Foo(); |
|
|
|
|