delegate with optional parameters

Inquie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Apr 2 12:24:14 PDT 2017


is it possible to create a delegate that takes an optional number 
of parameters and/or return type?

T delegate(S...)(S) special_delegate;

I guess this is impossible?


More information about the Digitalmars-d-learn mailing list