[LC++]derivation question

Steven Shaw steshaw at gmail.com
Tue Jun 20 06:23:02 UTC 2006


Try

template <class T>
class MyBase {...};

then you can inherit from a concrete instantiation like this:

class Fred : public MyBase<int> {
};




More information about the tuxCPProgramming mailing list