
14 Mar
2005
14 Mar
'05
4:55 p.m.
Hello, How can I get the type of my vertex properties if I use bundled properties as internal properties? My example is this one: typedef adjacency_list<mapS, vecS, undirectedS, myClass> Graph; // and in one function: template <class graph> void myFunction (Graph & g) { // Here I need to declare an object of type myClass... how can I get this type using graph_traits ?? } Thanks. Again, the documentation on bundled properties really need to be improved, IMHO. All the information I could find was relevant to the old property maps mechanism... Jean-Noël