|
|
@ -175,10 +175,12 @@ class Base |
|
|
|
// methods within Base can use template to access members of Derived
|
|
|
|
// methods within Base can use template to access members of Derived
|
|
|
|
Derived* create() { return new Derived(); } |
|
|
|
Derived* create() { return new Derived(); } |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
class Derived : public Base<Derived> |
|
|
|
class Derived : public Base<Derived> |
|
|
|
{ |
|
|
|
{ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Tests the MoveFunctionToClassPass
|
|
|
|
class DLL_API basic |
|
|
|
class DLL_API basic |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|