Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

How to see the expanded code of templates in GCC

I know that compiler expands macros while compiling. In GCC we can see the same if we compile code with -E switch option.

In same way does the templates code be expanded at the compile time. Is there any way to see expanded code of a template? In GCC I tried with -E switch but I did not see any template expanded code? Is there any GCC compiler switch available for same?

Comments