Boost logo

Boost Users :

From: BomBielFil (bombielfil_at_[hidden])
Date: 2008-02-05 13:45:08


Hi
I'm new user of boost library
I tried to create a graph but I can't modify the weight_map of this graph.
In my code:

boost::property_map<Triangultion,boost::edge_weight_t>::type
weight_map=get(boost::edge_weight,ft);
|
|
put(weight_map,*eit,100);

at compile time I've for command "put": "../property_map.hpp:319: error:
invalid lvalue in assignment

Best regards
-Bombielfil-



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