Hi I have a boost graph like:
struct Vertex;
struct Edge;
typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, Vertex, Edge> Graph_t;
struct Vertex {
};
struct Edge {
typedef std::vector<Graph_t::vertex_descriptor> intermediate_vertices_t;
intermediate_vertices_t intermediate_vertices;
};
The problem is with the recursive template in the Edge class. I need to store a vector of vertices.
I ended up using a small wrapper class like:
forward declaring it before the Edge class.