Boost logo

Boost :

From: Matthias Schabel (boost_at_[hidden])
Date: 2007-03-27 15:08:12


Robert,

Thanks - you hit the nail on the head. I had commented out the
mutating value() accessor as a test and forgot to uncomment it...
Sorry for the false alarm.

Matthias

> The error message suggests that we're trying to change the value of
> a const
> reference.
>
> does q.value() return a ref to a const?
>
> perhaps instead of serializing q.value() you want to serialize the
> underlying
> value directly and making serialization::access a friend of
> boost::units::quantity<Unit,Y>
>
> Robert Ramey
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk