A matter of inout

bearophile bearophileHUGS at lycos.com
Fri Jul 27 10:13:03 PDT 2012


Artur Skawina:

> 'inout' basically means 'local const' - if you'd allow inout
> data to be modified then it wouldn't be possible to call the
> function with a const or immutable argument - which is the
> whole point of inout...

dmd 2.059 was wrong then.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list