It's pretty much a miracle that Vector works at the moment.
Touching any code using it risks making the world explode.
In particular, it needs a postblit constructor and completely different opAssign.
Write a new Vector, maybe on top of FixedArray - which seems safe.
Alternatively, we could move to std.containers.Array, once it gets custom allocator support.
It's pretty much a miracle that Vector works at the moment.
Touching any code using it risks making the world explode.
In particular, it needs a postblit constructor and completely different opAssign.
Write a new Vector, maybe on top of FixedArray - which seems safe.
Alternatively, we could move to std.containers.Array, once it gets custom allocator support.