DMD 0.166 release

Russ Lewis spamhole-2001-07-16 at deming-os.org
Tue Sep 5 19:25:10 PDT 2006


Walter Bright wrote:
> Yes, it would be the same. But I think the interface should be set by 
> the definition, not the use. That's the usual practice with programming 
> languages, and I've never seen it raised as an issue before.

By that logic, shouldn't I be able to pass a delegate to a function with 
pass-by-value semantics and have the delegate get automagically called 
and converted into a value?

Assuming that you'll answer "no," they why is it ok for it to work the 
other way around?



More information about the Digitalmars-d-announce mailing list