4 ms·
I wouldn't say "more powerful", maybe "less constrained" (and not that that's a good thing). One thing C++ templates can't express e.g. is polymorphic recursio
by sixbrx 13y ago
I wouldn't say "more powerful", maybe "less constrained" (and not that that's a good thing).
One thing C++ templates can't express e.g. is polymorphic recursion. http://stackoverflow.com/questions/10321856/does-c11-support-types-recursion-in-templates http://stackoverflow.com/questions/10321856/does-c11-support...
- sixbrx 13y agoWrong link, that's a different issue (type recursion). This is a good discussion about limitations of polymorphic recursion in C++: http://lambda-the-ultimate.org/node/1319 http://lambda-the-ultimate.org/node/1319