Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] Bundled properties and property maps
From: Dmitry Bufistov (dmitry_at_[hidden])
Date: 2008-12-17 05:12:40


Geoff Hilton wrote:
>
>
> I'm having the same problem though mine (with MSVC9) says:
>
> error C2678: binary '=': no operator found which takes a left-hand
> operand of type 'const Weight' (or there is no acceptable conversion)
> c:\program files\boost\boost_1_37_0\boost\property_map.hpp 161
>
>
> A follow-up would be greatly appreciated.
>
> Thanks,
> Geoff

You can try to use
boost::remove_const<Weight>::type

Regards,
Dmitry


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