6 ms·
One of my main complaints about C++ metaprogramming is that its evaluation can be as complex as the runtime behavior of a normal program, but AFAIK no compiler
by DoofusOfDeath 7y ago
One of my main complaints about C++ metaprogramming is that its evaluation can be as complex as the runtime behavior of a normal program, but AFAIK no compiler provides metaprogram debugging tools. E.g., execution tracing or single-step debugging of metaprogram execution.
Anyone know of good tools of this nature for gcc and/or clang?
- dymk 7y agoYes, Templite and Templar: https://baptiste-wicht.com/posts/2016/02/use-templight-and-templar-to-debug-cpp-templates.html https://baptiste-wicht.com/posts/2016/02/use-templight-and-t...