xo-alloc / xo-ordinaltree: work on dual-alloc-policy trees

This commit is contained in:
Roland Conybeare 2025-12-02 10:37:07 -05:00
commit c7816416c5
7 changed files with 65 additions and 19 deletions

View file

@ -19,6 +19,9 @@ namespace xo {
**/
class IObject {
public:
/** impl inheriting this class must provide gc hooks **/
static constexpr bool _requires_gc_hooks = true;
/** true iff this object represents a forwarding pointer.
* Forwarding pointers are exclusively created by the garbage collector;
* forwarding pointers (and only forwarding pointers) return true here.