std.signals2 proposal

Jacob Carlborg doob at me.com
Tue Nov 6 05:13:09 PST 2012


On 2012-11-06 13:10, Robert Klotzner wrote:

>> The improvement is where?
> That you can not pass some arbitrary slot like:
>
> obj.signal.connect(() { /* my very funny delegate. */ })
> which would compile with the standard implementation but would fail
> badly at runtime.

And why would it be bad to pass a delegate literal like this?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list