Really in need of help with std.container.array.d
"Nordlöw" via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Oct 12 13:26:25 PDT 2014
On Sunday, 12 October 2014 at 20:17:38 UTC, Nordlöw wrote:
https://github.com/nordlow/phobos/commit/5c57cb18c2b9d340a19d19207deca5af0339cf7e#diff-0
>
Made some corrections
https://github.com/nordlow/phobos/compare/inout-array-range
but gives a similar error
array.d(223,19): Error: variable
std.container.array.Array!int.Array.Range!(inout(Array!int)).Range._outer
only parameters or stack based variables can be inout
array.d(430,5): Error: template instance
std.container.array.Array!int.Array.Range!(inout(Array!int))
error instantiating
array.d(833,5): instantiated from here: Array!int
array.d(816,5): Error: template instance
std.container.array.Array!int.Array.Range!(Array!int) error
instantiating
array.d(833,5): instantiated from here: Array!int
array.d(862,5): Error: static assert (!true) is false
More information about the Digitalmars-d-learn
mailing list