hello everybody

i would like to create a tree like structure in c++. since the number of children per node is arbitrary i would like to use stl vector for tree creation.

tree should look something like this:



each node should contain some data, including one stl vector.

at the end i would like to be able to "merge" hierarchically in one large vector - something like this:

K-vector + I-vector + F-vector + B-vector + A-vector

thank you very much for your interest