Mercurial > hg > Papers > 2024 > matac-master
comparison 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 |
comparison
equal
deleted
inserted
replaced
45:f23602aa6fd8 | 46:9baf70df56fa |
---|---|
1 typedef struct Tree<> { | |
2 union Data* tree; | |
3 struct Node* node; | |
4 __code put(Impl* tree, Type* node, __code next(...)); | |
5 __code get(Impl* tree, Type* node, __code next(...)); | |
6 __code remove(Impl* tree, Type* node, __code next(...)); | |
7 __code copy(Impl* tree, __code next(...)); | |
8 __code next(...); | |
9 } Tree; |