Boost logo

Boost :

From: Richard Jennings (richard.jennings_at_[hidden])
Date: 2005-12-22 05:16:05


On Thu, 22 Dec 2005 09:28:15 -0000, Frank Laub <frank.laub_at_[hidden]>
wrote:
[snip]
> Changing bitfield_base as follows:
>> void operator |= (const bitfield_base<T>& rhs)
>> {
>> m_value |= rhs.m_value;
>> }
>
>
> If I make the return value be void, the Boost.Operators library goes
> nuts. I
> can change the rhs type I suppose, that shouldn't hurt anything. I
> realize I
> am returning a derived type, but it should be ok because the derived type
> doesn't have any memory associated with it; all data is in the base.
>
> -Frank

The return type is void in rev4.3 isn't it? I have not changed the return
type, only the parameter type? (At least that was my intent)


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