AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Importance of Partial Template Specializations
In C++, you can write what are called partial template specializations. If it's a float, you say this to the compiler, I want you to use this version of the code. And then if I don't say anything, just use this other version. That technique, that language feature would, I think, get us out of this problem. Do you think?