callback parameter order question

Ali Çehreli acehreli at yahoo.com
Sat May 11 16:07:07 PDT 2013


On 05/11/2013 10:34 AM, gedaiu wrote:

 > how i can provide a class method instead a simple function as
 > callback?

Can you describe a little bit more? Where will the object that the 
member function will be called on come from? Do you want to use always 
the same object that you already have up front, or do you want to create 
a new object when the member function needs to be called?

In any case, you will have to use a delegate.

Ali



More information about the Digitalmars-d-learn mailing list