diff --git a/xo-allocutil/include/xo/allocutil/gc_allocator_traits.hpp b/xo-allocutil/include/xo/allocutil/gc_allocator_traits.hpp index 38e7f384..30cbb4f4 100644 --- a/xo-allocutil/include/xo/allocutil/gc_allocator_traits.hpp +++ b/xo-allocutil/include/xo/allocutil/gc_allocator_traits.hpp @@ -93,6 +93,14 @@ namespace xo { : public A::gc_object_interface { }; + // classes that want to conditionally support GC + // (e.g. see xo::tree::RedBlackTree, xo::tree::Node + // in xo-ordinal-tree) + // can inherit + // gc_allocator_traits::object_interface_type + // + using object_interface_type = object_interface; + /** true iff this allocator advertises itself as an incremental collector * allocator will include: *