On 6/14/15 4:00 AM, Brian Schott wrote:
On Sunday, 14 June 2015 at 00:24:51 UTC, Andrei Alexandrescu wrote:
So we have:
* 1 request to change names;
* 3 requests to wank around the directory structure;
* 0 of everything else.
Sigh.
Andrei
How about this:
AllocatorList.allocate() calls AllocatorList.owns(), but only if you
don't compile with -release. Check the assert statement.
AllocatorList.owns() is non-const, so the for loops of these two
functions start rearranging the root pointers and end up in an infinite
loop in debug builds.
Interesting. Do you have a repro for this? Thanks! -- Andrei