Segfault with std.container.Array but not regular dynamic array
Dan
dbdavidson at yahoo.com
Wed Nov 28 04:23:24 PST 2012
On Tuesday, 27 November 2012 at 18:04:19 UTC, Maxim Fomin wrote:
>
> I think it crashes because of using associative array.
> Assignment to an absent aa member causes memory allocation
> without proper object construction, and immediately after
> compiler issues call to opAssign for not-constructed object -
> that is why "this" pointer is "bogus" on entering function.
>
Thanks. Good troubleshooting.
More information about the Digitalmars-d-learn
mailing list