`in` no longer same as `const ref`
Soulsbane via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jan 30 17:02:46 PST 2017
On Monday, 30 January 2017 at 00:26:27 UTC, Walter Bright wrote:
> On 1/29/2017 3:50 AM, Nordlöw wrote:
>> Why is `in` no longer the same as `const scope`?
>
> Because it was unchecked and largely unimplemented. I was
> afraid that by checking it, too much code would break.
Unless I'm completely missing something the documentation still
says:
http://dlang.org/spec/function.html#parameters
in equivalent to const scope
More information about the Digitalmars-d
mailing list