From: Bing-Chang L. <op...@bc...> - 2003-05-16 10:32:18
|
Hi! I was wondering how to define a metaclass for a template. So say the Person class used in the tutorial is now a templated class, as follows: template<typename ageT> class Person { public: Person(ageT age); ageT Age() { return age; } ageT BirthdayComes() { return ++age; } private: ageT age; }; What would the original "metaclass VerboseClass Person;" become? Thanks. Regards, Bing-Chang Lai |