Boost logo

Boost :

From: Stephan Diederich (S.Diederich_at_[hidden])
Date: 2006-09-05 14:11:51

Hi Jeremy,

2006/9/5, Jeremy Graham Siek <jsiek_at_[hidden]>:
> Hi Stephan,
> The immediate problem is that you should be using the
> Mutable_LvaluePropertyMapConcept
> instead of LvaluePropertyMapConcept.

This solves the initially posted example, thanks.

> 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!


Boost list run by bdawes at, gregod at, cpdaniel at, john at