I went back and looked, and in Kasper Peeters' response to your original email, he pointed to a generic n-ary tree (imho a good solution):
http://www.damtp.cam.ac.uk/user/kp229/tree/#structure Thanks a lot. I think you have given me the right stuff.
His email is here:
http://article.gmane.org/gmane.comp.lib.boost.user/3564/match=+kasper+peeter... You made to doubt in my memory, as I don't remember getting such an email.
I'd agree with some of the other responses, though...the basic, five-line solution is extremely simple, and it works. If you need extra operations like tree traversals or search, they may depend on your specific problem enough that you'd benefit from a custom-tailored solution.
Yes, may be. Thanks again, --Hossein __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com