Surprising behaviour of std.experimental.allocator

svv1999 svv1999 at hotmail.com
Thu Dec 24 18:47:37 UTC 2020


On Thursday, 24 December 2020 at 16:12:31 UTC, Saurabh Das wrote:
> This causes a segfault when run with rdmd -gx:
[...]
On my machine its a "realloc(): invalid pointer".
 From what does the allocator know, that `p' is somehow an array?



More information about the Digitalmars-d-learn mailing list