Exactly Replicating a Function's Signature?

bearophile bearophileHUGS at lycos.com
Wed Jan 19 01:37:52 PST 2011


%u:

> If I have an alias F that represents a function, is there any way for me to
> create a function func() whose signature is exactly the same as that of F?

In theory this has to be enough:
typeof(F) F2;

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list