xo-ordinaltree: start work on gc-aware Key,Value in rbtree
This commit is contained in:
parent
3d06980b42
commit
528a772ea2
7 changed files with 48 additions and 6 deletions
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <type_traits>
|
||||
|
||||
namespace xo {
|
||||
namespace gc { class IAlloc; }
|
||||
|
|
|
|||
|
|
@ -36,8 +36,9 @@ namespace xo {
|
|||
**/
|
||||
template <typename T>
|
||||
class ObjectVisitor {
|
||||
void forward_children(T & target,
|
||||
IAlloc * gc) { (void)target; (void)gc; }
|
||||
// public:
|
||||
// void forward_children(T & target,
|
||||
// IAlloc * gc) { (void)target; (void)gc; }
|
||||
};
|
||||
|
||||
#define XO_TRIVIAL_OBJECT_VISITOR(TYPE) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue