3 ms·
And often in parametric code, there is nothing you can say about the types you're working with.
by endgame 6y ago
And often in parametric code, there is nothing you can say about the types you're working with.
- danbolt 6y agoI write C++ for a living, and one thing I've kind of noticed a similar thing to what you've mentioned. "very generic" template code often is best left to a name such as T, but a very specialized piece of metaprogramming often benefits from specific naming. The latter scenario being that hopefully the person debugging your logic a decade from now has some insight into what you were thinking, namely.