September 20, 2013 Re: Output contract's arguements | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joseph Rushton Wakeling | On Friday, 20 September 2013 at 18:34:18 UTC, Joseph Rushton Wakeling wrote:
> I get the concept, but I find it unattractive in practice just because it means you have different variables being treated differently in the out-contract depending on whether they are references or values.
Not really. Think about those as about variables that were passed to the function (and their state after function returns), not function parameters. Then it makes perfect sense.
|
Copyright © 1999-2021 by the D Language Foundation