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_properties
> graph_t;

graph_t g;

But how can I access bobo?

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

thanks

      



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