Search:
Forum
General C++ Programming
A tool to have/look the C++ interpretat
A tool to have/look the C++ interpretation from a template?
Sep 25, 2022 at 8:02am UTC
marhuum
(181)
Is there any tool to have/look the C++ interpretation from a template form syntax to its expansion/substitution before it really gets compiled to object/binary?
Sep 25, 2022 at 8:57am UTC
Peter87
(11235)
C++ Insights tries to do something like that:
https://cppinsights.io/s/c9be9f45
<-- press the play ▶️ button to view the result
Note that it doesn't only handle templates. It will also transform auto, lambdas, range-based for-loops, structured bindings, etc.
Last edited on
Sep 25, 2022 at 9:09am UTC
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs