DMD 0.165 release

Walter Bright newshound at digitalmars.com
Mon Aug 21 12:48:37 PDT 2006


Sean Kelly wrote:
> I was thinking more of converting an API call from:
> 
>     void fn( char ch );
> 
> to:
> 
>     void fn( char delegate() ch );
> 
> Both accept the same parameters under DMD 165, but the result may be 
> different.  But this is something library developers simply must keep in 
> mind more than a problem with the technique itself.  It would be easy 
> enough to document how the supplied delegate is evaluated.

That's true, but I expect the library developer to be cognizant of how 
his changes affect user code, and make the right choices.



More information about the Digitalmars-d-announce mailing list