Boost logo

Boost Users :

Subject: [Boost-users] How to access a GRAPH property? - simple
From: Mike Douglass (douglassm13_at_[hidden])
Date: 2010-08-13 20:59:23

I have

struct vertex_properties
    blah blah

struct edge_properties
    blah blah

struct graph_properties

  int bobo;


typedef adjacency_list < vecS, vecS, bidirectionalS,
        property< vertex_predecessor_t, vertex_t, vertex_properties >,
         property< edge_reverse_t, edge_t, edge_properties >,
> graph_t;

graph_t g;

But how can I access bobo?

g.bobo; does not compile (otherwise compiles OK).



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at