We currenly do not have a solution for this in the BGL (other than
internal properties). I seem to remember LEDA having a solution for this,
so you might want to look there for ideas.

Cheers,
Jeremy

On Wed, 29 Jan 2003, Vladimir Prus wrote:
ghost>
ghost> Well, external properties still confuse me. Assume I want to attach
ghost> some data to vertices in adjacency_list. No problem:
ghost>
ghost> vector< vertex > alternative_s ;
ghost> iterator_property_map< vector<vertex>::iterator,
ghost>       property_map<G, vertex_index_t> > alternative = ...
ghost>
ghost> The problem is that I have to pass alternative_s.begin() when
ghost> constructig alternative, but I might want to add new vertices.
ghost> In that case the iterator can be invalidated.
ghost>
ghost> Is there a solution to this problem, except for resorting to internal
ghost> properties?
ghost>
ghost> - Volodya
ghost>

----------------------------------------------------------------------
 Jeremy Siek                          http://php.indiana.edu/~jsiek/
 Ph.D. Student, Indiana Univ. B'ton   email: [EMAIL PROTECTED]
 C++ Booster (http://www.boost.org)   office phone: (812) 855-3608
----------------------------------------------------------------------

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to