Most likely it would not matter if you're passing your functions to
those templates by means of the name of the function, like
Algorithm(mySpecialSort);
. When used, the reference to function probably (just like a "real"
function) decays into a pointer to function, or, if simply called,
behaves just like a function would do. The difference between a pointer
to function versus a reference to it is that a pointer to function *can*
be null, and needs to be checked for that, I think. A reference to
function should always be initialized to something, so it's likely not
to require checking. That's my understanding.
V
--
I do not respond to top-posted replies, please don't ask