Link to home
Start Free TrialLog in
Avatar of barryc
barryc

asked on

KangRoo Points: (PAQ) Can class Foo derive from a template on itself?

KangRoo gave lots of help on answering my questions as to whether or not a class can derive from a template on itself and to what extent that template can use the deriving class.  For example:

template <class T> Foo { /* ...  */ };
class Bar : public Foo<Bar> { /* ...  */ }

It wasn't an easy question, so KangRoo you can come claim some points too.
ASKER CERTIFIED SOLUTION
Avatar of KangaRoo
KangaRoo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial