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?
Aucun commentaire:
Enregistrer un commentaire