Boost logo

Boost Users :

From: Elvanör (elvanor2004_at_[hidden])
Date: 2005-03-14 18:55:17


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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net