September 29, 2013 Re: Using emplace leading to memory corruption | ||||
|---|---|---|---|---|
| ||||
On 9/29/13, d coder <dlang.coder@gmail.com> wrote:
> assert(size is 32); // 35
I'd file this call as a separate bug as well..
| ||||
September 29, 2013 Re: Using emplace leading to memory corruption | ||||
|---|---|---|---|---|
| ||||
On 9/29/13, d coder <dlang.coder@gmail.com> wrote:
> _foo = emplace!(Foo)(mem); // 40
I get a more interesting stack trace if I don't assign the result to _foo:
object.Error: Access Violation
----------------
object.Error: Access Violation
----------------
0x0041C977 in void* gc.gc.GC.mallocNoSync(uint, uint, uint*)
----------------
4000
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply