Is there please, any tool to have/look c++ interpretation from a template form syntax to its expansion/substitution before it really gets compiled to object/binary ?
We wrote a C++ front-end from scratch that is quite de-constructed. For example, it will show you the parse tree before type disambiguation. You can visit the templates, or the templates instantiated. It has not been maintained for a while, but here it is:
I seem to remember having used some GCC options to look at the expanded templates years ago, but I’m not certain about the details and my impression was that it did not help much.
Trying to verify that I found this tool called Templator that apparently does it in a nice graphical way:
https://www.cevelop.com/#templator
etbrain's ide package(s) support gcc cpp directives, so in theory should be able to expand a c++ template in cpp fashion in similar manner as regular code blocks. https://www.jetbrains.com
arc [1] / racket implimentation of demystifycpp might be able to provide something 'usable'/presentable at the command line and/or as a straight up web browser html file.
If you're doing something more complex, you might need metashell. See http://metashell.org/manual/how_to/index.html#see-what-templ.... But you have to really, deeply, love C++ to get much out of it.