From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-09-14 16:04:39


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