This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Best regards, Rick C. Hodgin
"Rick C. Hodgin"<foxmuldrster@yahoo.com> writes:
#define self step1I can also see a use for generated code where there's a base source code template in use with an embedded include file reference that changes as it's generated per pass, such as:
int step1(int a, int b) {#include "\current_task\step1.cpp"#undef self}#define self step2
int step2(int a, int b) {#include "\current_task\step2.cpp"#undef self}Andreas.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |