delegate type from function signature

Nub Public nubpublic at gmail.com
Sun Jun 26 04:47:37 PDT 2011


On 6/26/2011 5:45 PM, Robert Clipsham wrote:
> template DelegateType(alias t)
> {
>      alias ReturnType!t delegate(ParameterTypeTuple!t) DelegateType;
> }


Thanks. This is exactly what I need.


More information about the Digitalmars-d-learn mailing list