4 ms·
I 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
by danbolt 6y ago
I 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.