bsing escribió:
> My previous mail got truncated, the completed listing is below:

Because you are inserting a value which is inalready inserted in an intrusive container. See Documentation:

Yes I figured it out immediately after posting. I tried fixing it by adding a duplicate instance in the vector before adding it to the tree, but the trouble with that seems to be that push_back()s that cause resize()s make the object invalid. So I guess a list is a better structure to hold objects for the lifetime of the avltree?




http://www.boost.org/doc/libs/1_40_0/doc/html/intrusive/safe_hook.html

Best,

ion
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users