> if all you want to do is convert fn ptrs to delegates this works: > > |T delegate(A) Fn2Dg(T, A...)(T function(A) f) > |{ > | struct tmp > | { > | T ret(A args){ return (cast(T function(A))this)(args); } > | }; > | return &(cast(tmp*)f).ret; > |} I didn't know this was possible. Are you sure this works? I thought there were some issues with calling conventions. -Craig