[Issue 5710] cannot use delegates as parameters to non-global template

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 5 13:56:40 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=5710

--- Comment #32 from timon.gehr at gmx.ch ---
(In reply to Kenji Hara from comment #29)
> ...
> 
> #1 is necessary for the multiple-context delegates. But applying same rule
> for existing one-context delegates

There is no particular reason to apply the same rule for existing one-context
delegates. Those work already.

> will add hidden runtime cost against existing code.
> ...

Hence it seems like a bad idea to apply the same rule for existing one-context
delegates.

> To avoid the cost, ...

There is no need to introduce it in the first place.

--


More information about the Digitalmars-d-bugs mailing list