RE:Function pointers in CINT

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Fri Jul 30 1999 - 16:15:39 MEST


Dear Gene Van Buren,

You could use pointer to global function. But please keep in mind 
there are issues and limitations.

 1) pointer to function in cint is slow
 2) special care is needed if you mix pointer to interpreted function
    and compiled function. See doc/ref.txt in cint source package.
 3) pointer to member function can not be used (In the latest version, very
    simple pointer to member function is implemented, but not activated)

In general, use of pointer to function is not widely recommended.

Thank you
Masaharu Goto

==============================================================
Does anyone know if it's possible to use function
pointers in CINT? For example, in typical C++ code,
one can use the name of a function (without the
parentheses) to get a pointer to it (just like the
name of an array is a pointer to it).

-Gene Van Buren



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:36 MET