struct dynamic allocation error
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Thu Sep 15 13:55:26 PDT 2016
On Thursday, 15 September 2016 at 20:38:45 UTC, Dechcaudron wrote:
> I believe there is some kind of weird issue that won't allow
> for struct instances to be dynamically allocated in a proper
> way via the 'new' keyword. It does actually allocate them and
> return a valid pointer to operate the instances, but whenever
> the program is exited I get the following exception:
>
> [...]
I would think the GC tries to collect the object which you
destroyed before.
But I cannot be sure. I avoid the gc.
More information about the Digitalmars-d
mailing list