On 2012-06-14 13:30, Gor Gyolchanyan wrote:

It doesn't matter whether a function is a template or not. The only
thing that matters is the number of instances it produces. A template
function, which produces only one instance is equivalent to a
non-template function. The function above can produce only one
instance (unless overloaded).

Yeah, except when it's an instance method, which will make it non-virtual. In this case it's not though.

--
/Jacob Carlborg

Reply via email to