@safe @nogc memory allocation
monarch_dodra via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed May 28 13:08:27 PDT 2014
On Wednesday, 28 May 2014 at 20:00:17 UTC, safety0ff wrote:
> I think malloc isn't @safe and alloca doesn't work if your
> function can throw.
Yeah, uninitializedArray is also *only* trusted if the type in
question has no indirections.
I've heard of several bugs with alloca, but I don't know the
exact list.
More information about the Digitalmars-d-learn
mailing list