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.
barrycAsked:
Who is Participating?
 
KangaRooConnect With a Mentor Commented:
Thank you!
Good things don't come easy ;)
0
All Courses

From novice to tech pro — start learning today.