3 ms·
I stand corrected. Though I've rarely seen templates used for anything other than for implementing generic types. Certainly not in the C++ code bases I've worke
by bjourne 10y ago
I stand corrected. Though I've rarely seen templates used for anything other than for implementing generic types. Certainly not in the C++ code bases I've worked on. For example, I know templates specializing on values are possible but I haven't seen any non-toy examples making use of that.
- Manishearth 10y agoYou've been luckier than I, then :) I've not seen much use of SFINAE, just enough SFINAE is a "core" type that makes it infect everything.