The proposed solution works even without the intermediate template. If the arg type is typed then the content of the included file is passed to the macro and not the include statement.
However, there's still a problem with it. If the included module contains macros, they are expanded before being passed to the macro. So I can't examine the macros declared in the included module, only the code generated from them. And for my specific task, I do need to find a particular macro block. I couldn't find anything like rawInclude or literalInclude. Maybe anyone could point to the right thing?
