Problem with templates

Jarrett Billingsley kb3ctd2 at yahoo.com
Mon Jul 7 08:44:16 PDT 2008


"Clemens Hofreither" <clemens.hofreither at gmx.net> wrote in message 
news:g4td0m$2iqm$1 at digitalmars.com...
>
> Have you tried using "function" instead of "delegate"? AFAIK, delegates 
> refer to object member functions, whereas functions are global functions. 
> Since your functions come from C, they'd certainly be global functions.
>
> -Clemens

You're right about that.  Delegates can also refer to non-static nested 
functions.  Though this initial solution still suffers from the problem of 
returning a delegate. 




More information about the Digitalmars-d-learn mailing list