
15 Sep
2005
15 Sep
'05
1:11 a.m.
Arkadiy Vertleyb wrote:
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.
YES!!! -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net