view Paper/src/Tree.h @ 28:4b5c140233f3

...
author matac42 <matac@cr.ie.u-ryukyu.ac.jp>
date Tue, 16 Jan 2024 20:24:32 +0900
parents f4b076177b9a
children
line wrap: on
line source

typedef struct Tree<> {
  /* future Code */
  /* Type* tree; */
  /* Type* node; */
  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 clearRedBlackTree();
  __code next(...);
} Tree;