Why do "const inout" and "const inout shared" exist?
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jul 3 09:30:53 PDT 2017
On Saturday, 1 July 2017 at 21:47:20 UTC, Andrei Alexandrescu
wrote:
> Walter looked at http://erdani.com/conversions.svg and said
> actually "const inout" and "const inout shared" should not
> exist as distinct qualifier groups, leading to the simplified
> qualifier hierarcy in
> http://erdani.com/conversions-simplified.svg.
>
> Are we missing something? Is there a need for combining const
> and inout?
>
Yes.
inout == mutable, const or immutable
const inout == const or immutable
More information about the Digitalmars-d
mailing list