On 2012-11-06 14:39, eskimo wrote:
Because the connect method in std.signal interprets the context pointer of the delegate to be an Object. If it is not, your program crashes. To quote the author of _d_toObject (which is used in the original std.signal):
I've not read the code and I'm not 100% sure of the intentions of std.signal but why not just call the delegate as is?
-- /Jacob Carlborg