
15 Apr
2007
15 Apr
'07
12:10 a.m.
"Douglas Gregor" <doug.gregor@gmail.com> wrote
I think the concept of variable preprocess is useful, if Boost.Typeof or Boost.Bind use that, these code they need would be less than copying same codes.
Or you could just use variadic templates, which eliminate the preprocessor entirely and are likely to be included in C++0x.
I think that a compiler that supports variadic templates would most likely support typeof directly, so I doubt typeof emulation will ever benefit from this cool feature :) Regards, Arkadiy