Boost logo

Boost Users :

Subject: [Boost-users] Fwd: Bundled properties for GraphProperties
From: Saeed Nari (s.nari_at_[hidden])
Date: 2010-08-25 11:59:52


Hi all,

I wonder if I can use a user defined class (bundled property) as a
GraphProperty. The documentation just says about vertex and edge
properties. Actually I could compile the below line with no errors:

typedef adjacency_list<listS, vecS, directedS, vClass, eClass, gClass> Graph;

vClass, eClass and gClass are my own classes. I don't know how to
access the members from gClass anyway.

Graph g;
Vertex v;
Edge e;

g[v].vMember and g[e].eMember work fine. But I get error for g.gMember.

Thanks
Saeed


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