view Paper/src/TreeCopy.h @ 46:9baf70df56fa

copy algo
author matac42 <matac@cr.ie.u-ryukyu.ac.jp>
date Mon, 29 Jan 2024 13:41:22 +0900
parents
children
line wrap: on
line source

typedef struct Tree<> {
  union Data* tree;
  struct Node* node;
  __code put(Impl* tree, Type* node, __code next(...));
  __code get(Impl* tree, Type* node, __code next(...));
  __code remove(Impl* tree, Type* node, __code next(...));
  __code copy(Impl* tree, __code next(...));
  __code next(...);
} Tree;