|
Boost Users : |
From: LOU Wenwu (wwlou_at_[hidden])
Date: 2004-06-27 00:46:46
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
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