Re: What is the Correct way to Malloc in @nogc section?
Kitt via Digitalmars-d-learn Thu, 12 Feb 2015 15:56:04 -0800
I realized the above "_new" has an issue with emplace depending
on whether it's a class (reference type) or not. Class c =
emplace() works, but something like string s = emplace() does
not. Is doing string s = *emplace() safe and okay? Or is there a
better way to handle the differences between allocating a Class
with malloc vs a non-Class?
- What is the Correct way to Malloc in @n... Kitt via Digitalmars-d-learn
- Re: What is the Correct way to Mal... Kitt via Digitalmars-d-learn
- Re: What is the Correct way to Mal... Foo via Digitalmars-d-learn
- Re: What is the Correct way to... anonymous via Digitalmars-d-learn
- Re: What is the Correct wa... Foo via Digitalmars-d-learn
- Re: What is the Correc... anonymous via Digitalmars-d-learn
- Re: What is the C... Foo via Digitalmars-d-learn
- Re: What is t... Kitt via Digitalmars-d-learn
- Re: What is t... bearophile via Digitalmars-d-learn
- Re: What is t... ketmar via Digitalmars-d-learn
- Re: What is the Correct wa... weaselcat via Digitalmars-d-learn
- Re: What is the Correc... ketmar via Digitalmars-d-learn