Passing member-function to template
    Zhenya 
    zheny at list.ru
       
    Sat Jan 12 12:05:06 PST 2013
    
    
  
On Saturday, 12 January 2013 at 19:24:04 UTC, Maxim Fomin wrote:
> On Saturday, 12 January 2013 at 19:16:02 UTC, Zhenya wrote:
>> But I would like to handle not only member-function,but global 
>> function too(by UFCS) if it's possible.
>
> Global functions rewritten as UFCS functions are not delegates, 
> they are still functions, so they can be handled just as other 
> functions. In such case it is enough to supply null to void* 
> parameter.
Understood,thank you.
    
    
More information about the Digitalmars-d-learn
mailing list