`in` no longer same as `const ref`

Chris Wright via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 30 17:27:22 PST 2017


On Mon, 30 Jan 2017 19:05:33 +0000, Q. Schroll wrote:
> Would have been a far better definition. Why does anyone really need a
> shorthand attribute for two attributes that could be easily spelled out?

Because there was existing code thath used `in` and `scope const` was the 
nearest equivalent.


More information about the Digitalmars-d mailing list