
5 Sep
2006
5 Sep
'06
6:11 p.m.
Hi Jeremy, 2006/9/5, Jeremy Graham Siek <jsiek@osl.iu.edu>:
Hi Stephan,
The immediate problem is that you should be using the Mutable_LvaluePropertyMapConcept instead of LvaluePropertyMapConcept.
This solves the initially posted example, thanks. [snip]
I think it would be appropriate to change LvaluePropertyMapConcept to require the reference to be convertible to the const&, but not require same type.
This would be nice. I'm using that check in the maxflow algorithm where I get some of the property maps as consts. Btw, that's how I came to that problem. Your suggestion solves that. Thank you! Cheers, Stephan