I am not sure I understand what you mean. What "type information" did
you expect not to get "lost"? IOW, what do you *want* to have?
> But
while I could get the proper type being passed one line above for
"printThisFunctor", I'm unable to do the same for "printThisFunction".
You're unable because it causes infinite recursion.
> Any ideas how this could be achieved, if possible with plain C++ 2003?
How could *what* be achieved? You've hit the known wall of
impossibility to declare a function that has as an argument a pointer to
the same function (in your case wrapped in a template, which is the same
thing). There is no solution for it.
What is it you're trying to accomplish? Why do you think you need to
pass the pointer to "self" into that function? Are you implementing
some kind of reflection?
V
--
I do not respond to top-posted replies, please don't ask