Boxes and Trees – Smart Pointers in Rust
matthias-endler.de
matthias-endler.de
What is the most idiomatic way to implement a simple Binary Tree structure in C++? Raw pointers to the left and right subtrees? Smart pointers? Probably it depends on the use-case.
Good luck.