Swift deprecate i++ and c-style for loop
Ola Fosheim Grøstad via Digitalmars-d
digitalmars-d at puremagic.com
Wed Feb 24 13:19:25 PST 2016
On Wednesday, 24 February 2016 at 21:03:12 UTC, rsw0x wrote:
> Could you expand upon what you mean here? I have an entire D
> project not using the GC and make use of slices everywhere.
Then you need ownership of arrays, not just slices. You can of
course use slices to represent non-ownership. In C++ you could
use std::vector + gsl::span. Just using gsl::span or D's slices
everywhere is a very bad idea.
More information about the Digitalmars-d
mailing list