It thought a reference was the same as a pointer ... I don't see any difference in what you done as to my examples ...
There is no such thing as a "function reference", as functions are not variables, and a reference refers to a variable. You could have a reference to a function pointer, but you still have to make the function "variable" a pointer.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.