@disable assignment of [] literal?

Meta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 28 17:04:45 PDT 2015


On Tuesday, 28 April 2015 at 07:43:28 UTC, Kagamin wrote:
> Looks like it does: http://dpaste.dzfl.pl/a851acca63d9

That compiler error is because `ArrayWrapper!(int[]) = []` 
matches both `this(int[])` and `this(ArrayWrapper[])`, 
although... that might be workable.


More information about the Digitalmars-d-learn mailing list