2 ms·
That's not what template metaprogramming means. That's just plain generic programing, with templates. TMP is this: https://en.wikibooks.org/wiki/C%2B%2B_Program
by andrepd 9y ago
That's not what template metaprogramming means. That's just plain generic programing, with templates. TMP is this: https://en.wikibooks.org/wiki/C%2B%2B_Programming/Templates/Template_Meta-Programming https://en.wikibooks.org/wiki/C%2B%2B_Programming/Templates/...
- yoklov 9y agoThat doesn't really seem super relevant, given that the parent comment seems to have been using template metaprogramming in the same way -- to just mean any template code.
- tines 9y agoSorry, good point. But C++ gives you templates as well as template metaprogramming, so my point still stands.