logoalt Hacker News

tialaramex • yesterday at 12:01 PM • 1 reply • view on HN

> Last time I tried, even the standard containers were giving different layouts to allocate and deallocate.

Do you have some concrete examples? I couldn't reproduce this but maybe I'm looking in the wrong places.


Replies

ozgrakkurt • yesterday at 12:40 PM

It was in this code.

https://github.com/ozgrakkurt/s_alloc

Test were failing until adding this

https://github.com/ozgrakkurt/s_alloc/blob/42adbd31e9835cc17...

Also I remember finding that allocator trait explicitly mentions this after finding the error.

➕ show 1 reply