aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-07-26 02:55:58 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-07-26 02:55:58 +0100
commit139f2e9e5a6db38095f9ba4b006e5867e251458e (patch)
treeadb69713ff7b2690df120ddf17f8cf73a55a2006 /src/main.cpp
parentd73ecff38a9894c226c5de63a1b3ff2b4f1a9f2d (diff)
downloadcw_tree-139f2e9e5a6db38095f9ba4b006e5867e251458e.tar.gz
cw_tree-139f2e9e5a6db38095f9ba4b006e5867e251458e.tar.bz2
cw_tree-139f2e9e5a6db38095f9ba4b006e5867e251458e.zip
Rework node constructor and general procedure API
Node constructor is now completely default constructed i.e. no constructor arguments required. The iterate function takes the queue by reference, so it can update the caller's state. Finally, to_string for a Node now uses the node allocator and an index to print out trees. Seems simpler and more in line with the current implementation.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions