Can a class member function template be virtual?

I have heard that C++ class member function templates can’t be virtual. Is this true?

If they can be virtual, what is an example of a scenario in which one would use such a function?

15 Answers
15

Leave a Comment