Ouput-UFCS proposal: void fun(A a,ref B b) <=> B fun(A a);

deadalnix deadalnix at gmail.com
Sat Feb 2 09:10:34 PST 2013


On Friday, 1 February 2013 at 09:25:57 UTC, timotheecour wrote:
> Please let me know what you think.

Calling function is complicated enough, see @property discussion 
for informations about this.

As of the proposal in itself, out parameter is known to be 
confusing. They are here simply for C compat, and because D is 
unable to return multiple values. Fixing that problem is probably 
way then introducing something that promote out parameter usage.


More information about the Digitalmars-d mailing list