14 May
2008
14 May
'08
2:18 a.m.
Hi, I am trying to modify a set of file parser callback functions (for a custom file format) to populate a Boost graph. The callbacks provide a (void*) pointer style parameter passing. But Boost graph method add_vertex(graph) will return a vertex descriptor. How do I obtain the pointer information for this newly added vertex so that the pointer can be cast as (void*) and passed to the appropriate call back? Thanks, Ananth