M
My4th
I am looking in some old code of someone who's gone. Why should one use
something like namespacename::classname().thefunction()? He repeatedly does
that.
The function is virtual and not static. If you create a temporary
namespacename::classname() class to call thefunction(), at least that is
what I understand of it, then would it not be more sense to make thefunction
static? What the use of making thefunction virtual if you already decide
which function you call, for the temp class you use?
something like namespacename::classname().thefunction()? He repeatedly does
that.
The function is virtual and not static. If you create a temporary
namespacename::classname() class to call thefunction(), at least that is
what I understand of it, then would it not be more sense to make thefunction
static? What the use of making thefunction virtual if you already decide
which function you call, for the temp class you use?