14 ms·
Fair enough, but that addition wasn't to solve the problem of templates being too complex, but to support usages that were previously impossible.
by fluoridation 4y ago
Fair enough, but that addition wasn't to solve the problem of templates being too complex, but to support usages that were previously impossible.
- usrnm 4y agoThey were possible and widely used, but a lot less ergonomic. You "just" had to copy-paste some number of instantiatons for the number of arguments between 0 and, say, 50.
- fluoridation 4y agoWasn't it also at the cost of compilation memory? I still remember the time when it was easy to crash compilers by just giving them hard enough templates.