Browse Source

Update test with method which should appear in "Derived"

pull/90/head
Stephen Kennedy 12 years ago
parent
commit
6cff480f2b
  1. 1
      tests/Basic/Basic.h

1
tests/Basic/Basic.h

@ -159,6 +159,7 @@ template<class Derived> @@ -159,6 +159,7 @@ template<class Derived>
class Base
{
// methods within Base can use template to access members of Derived
Derived* create() { return new Derived(); }
};
class Derived : public Base<Derived>
{

Loading…
Cancel
Save