xo-alloc2: + guard bytes at beginning of arena + refactoring

This commit is contained in:
Roland Conybeare 2025-12-13 22:15:43 -05:00
commit c6b57232e8
8 changed files with 210 additions and 89 deletions

View file

@ -20,7 +20,10 @@ namespace xo {
* e.g. IAllocator_Xfer<DArena>
*/
std::cerr << "fatal: attempt to call uninitialized IAllocator_Any" << std::endl;
std::cerr << "fatal"
<< ": attempt to call uninitialized"
<< " IAllocator_Any method"
<< std::endl;
std::terminate();
}