Review of std.signal

Jacob Carlborg doob at me.com
Fri Jan 24 05:17:42 PST 2014


On 2014-01-24 10:06, Johannes Pfau wrote:

> A delegate context could be a struct or closure as well, then calling
> cast(Object) is invalid and may crash.
> There's no good solution, the old std.signals just assumes all
> delegates belong to classes IIRC.

I just tried with a nested function and that returned "null". Was that 
just luck?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list