Boost logo

Boost Users :

From: LOU Wenwu (wwlou_at_[hidden])
Date: 2004-06-27 00:46:46


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

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?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at