
27 Jun
2004
27 Jun
'04
5:46 a.m.
Hi, I was trying to set graph properties, such as a meaningful name, to individual subgraphs, but the following test code failed. ====================================== typedef adjacency_list<v ecS, vecS, directedS, no_property, no_property no_property, property<graph_name_t, std::string> > graph_t; typedef subgraph<graph_t> subgraph_t; graph_t g; boost::set_property(g, graph_name, "a graph"); // **this worked, of course subgraph_t sg; boost::set_property(g, graph_name, "subgraphs"); // ** Error C2784 Error C2784: could not deduce template argument... ======================================= I used the BGL came with Boost 1.30.0 in .NET 2003. Any idea of how to make it work? Thanks, Daniel