Yet another tree data structures library in C++ (templated)