Boost logo

Boost Users :

Subject: [Boost-users] Cannot access graph property
From: Mike Douglass (douglassm13_at_[hidden])
Date: 2010-08-13 01:51:18


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 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