$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Sara Ting (STing_at_[hidden])
Date: 2007-08-30 00:47:53
Hello,
I need to use the overload of add_vertex that takes the vertex property 
object as a parameter.  I am using a mix of internal and bundled properties 
because I had to add the vertex_index property but did not want to clutter 
my bundled property with an index field.  How do I instantiate this mixed 
property object to call add_vertex(vp, graph)?
For reference, my graph is defined like this:
    adjacency_list<vecS, listS, indirectedS, 
boost::property<boost::vertex_index_t, int, MyNodeProperties>, 
MyEdgeProperties>
I basically want to do this call:
    add_vertex(myNodeProp, graph)
but I am getting a compilation error that it is not a boost::property<....> 
type.  How do I wrap my bundled property in an object that I can pass to 
this function?
Thanks,
Sara