graph
graph copied to clipboard
csr-example.cpp does not compile
I see:
1>csr-example.cpp
1>d:\data\boost\boost\boost\graph\graphviz.hpp(265): error C2064: term does not evaluate to a function taking 1 arguments
1>d:\data\boost\boost\boost\graph\graphviz.hpp(291): note: see reference to function template instantiation 'void boost::write_graphviz<Graph,VertexPropertiesWriter,EdgePropertiesWriter,GraphPropertiesWriter,boost::typed_identity_property_map<size_t>>(std::ostream &,const Graph &,VertexPropertiesWriter,EdgePropertiesWriter,GraphPropertiesWriter,VertexID,boost::graph::detail::no_parameter)' being compiled
1> with
1> [
1> Graph=WebGraph,
1> VertexPropertiesWriter=boost::dynamic_properties,
1> EdgePropertiesWriter=std::string,
1> GraphPropertiesWriter=boost::typed_identity_property_map<size_t>,
1> VertexID=boost::typed_identity_property_map<size_t>
1> ]
1>d:\data\boost\boost\libs\graph\example\csr-example.cpp(58): note: see reference to function template instantiation 'void boost::write_graphviz<WebGraph,boost::dynamic_properties,std::string,boost::typed_identity_property_map<size_t>>(std::ostream &,const Graph &,VertexPropertiesWriter,EdgePropertiesWriter,GraphPropertiesWriter,boost::graph::detail::no_parameter)' being compiled
1> with
1> [
1> Graph=WebGraph,
1> VertexPropertiesWriter=boost::dynamic_properties,
1> EdgePropertiesWriter=std::string,
1> GraphPropertiesWriter=boost::typed_identity_property_map<size_t>
1> ]
1>d:\data\boost\boost\boost\graph\graphviz.hpp(271): error C2064: term does not evaluate to a function taking 2 arguments
1>d:\data\boost\boost\boost\graph\graphviz.hpp(277): error C2064: term does not evaluate to a function taking 2 arguments
Change line 58 from a call to write_graphviz to write_graphviz_dp to handle the dynamic properties correctly.
Why not close this issue? @deinst @jzmaddock