4 ms·
Compiler Explorer shows template, expanded template & equivalent assembler. https://godbolt.org/ https://godbolt.org/
by sargstuff 4y ago
Compiler Explorer shows template, expanded template & equivalent assembler. https://godbolt.org/ https://godbolt.org/
- sargstuff 4y agoUntested / unverified approaches: Seems thee's an emacs "expand the C++ template" concept: demystifycpp https://github.com/chriskmanx/demystifycpp https://github.com/chriskmanx/demystifycpp 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 https://www.jetbrains.com
- sargstuff 4y agoarc [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. [1] : https://arclanguage.github.io/ https://arclanguage.github.io/