
14 Sep
2005
14 Sep
'05
9:04 p.m.
Hi All, Do you think it makes sense to write a utility that, using a syntax like following: template<class T, class U> class foo /*typeof*/ { . . . }; struct bar /*typeof*/ { . . . }; // etc. would generate the typeof registrations? I think it could be quite helpful to those library authors who want to make their libs typeof-enabled, since it would minimise the duplication issue... This utility could be written using Spirit or maybe Python or any other suitable tool. Please let me know. Regards, Arkadiy