Meaning of in, out and inout

Sergey ser.rykoff2016 at yandex.com
Thu Jan 20 13:56:15 UTC 2022


On Thursday, 20 January 2022 at 13:28:54 UTC, Paul Backus wrote:
> On Thursday, 20 January 2022 at 13:19:06 UTC, Sergey wrote:
>> [...]
>
> The explanation you quoted is from 2005, and `inout` does not 
> mean the same thing in 2022 as it did in 2005.
>
> The current meaning of inout is explained in the D language 
> specification on dlang.org. Here is a link to the relevant 
> section:
>
> https://dlang.org/spec/function.html#inout-functions

Thanks a lot.


More information about the Digitalmars-d-learn mailing list