Passing member-function to template

Maxim Fomin maxim at maxim-fomin.ru
Sat Jan 12 11:24:03 PST 2013


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.


More information about the Digitalmars-d-learn mailing list