i using intel compiler 13.0.1 , boost 1.52 following error when use boost::get() , boost::put() i use boost::adjacency_list<> graph type. properties assigned vertices. get() , put() functions fetch properties using boost::property_map <> interface. use custom properties define own struct property storage , corresponding tag property //g --> graph_t type //vd --> vertex //p --> property fetched graph object vertex vd (used auto c++11) // auto p = boost::get(propertytag(), g, vd); //fetch property using put. modify p (do anything) boost::put(propertytag(), g, vd, p) // update property using put when compile intel compiler, following error: error: no instance of overloaded function "boost::put" matches argument list argument types are: (propertytag, graph_t, const size_t, nodeinfo) boost::put(propertytag(), g, vd, p); ^ detected during: instantiation of ... note error comes boost::put() , not boost::get...
Comments
Post a Comment