Why do "const inout" and "const inout shared" exist?
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jul 1 21:23:48 PDT 2017
On Sunday, 2 July 2017 at 03:55:37 UTC, Walter Bright wrote:
> On 7/1/2017 6:22 PM, Stefan Koch wrote:
>> I cannot think so a single time I ever used const inout.
>
> The math needs to work whether it is ever used or not,
> otherwise we wind up with bizarre, intractable absurdities.
I agree.
I may add though that we already have a few absurdities ...
inout itself for example :)
More information about the Digitalmars-d
mailing list