こんにちは私は次のようなブーストグラフを持っています:
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;
};
問題は、Edgeクラスの再帰テンプレートにあります。頂点のベクトルを保存する必要があります。