
15 Oct
2008
15 Oct
'08
8:59 a.m.
Steven Watanabe wrote:
Since the point is to make the code more readable, if we do any macro expansion for instance:
#define SOME_MACRO(...) \ template<class T> \ class C { \ /*stuff*/ \ };
SOME_MACRO(x, y, z)
We don't want this all to end up on one line.
Perhaps run everything through a code beautifier after the pseudo-preprocessing step? Still, I'd have thought that macros like the above would usually be the sort that would better not be expanded. John Bytheway