Range violation with AAs

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Oct 17 10:43:19 PDT 2016


At

https://github.com/nordlow/phobos-next/blob/master/src/array_ex.d

I have an array container.

Everything works as expected in all unittests except for the line 
at

https://github.com/nordlow/phobos-next/blob/master/src/array_ex.d#L1649

that fails as

     core.exception.RangeError at array_ex.d(1649): Range violation

and I have no clue why.

Is this a know problem with AA's with container-like structs as 
value types?


More information about the Digitalmars-d-learn mailing list