I have a tree that will have the root and the inner nodes defined by a structure and the leaves defined by (each one of them) by a std::vector.
But, take for example a tree two levels deep, with the root and only one inner node and only one child for example.
The root has the data and the pointers to the next level, but these are pointers to the struct. We descend to the inner node, which has also pointers for a struct. But I need pointers for the vector (which is the leaf).
Any ideas? :)
// Happy the forum is back. :)