
22 Dec
2005
22 Dec
'05
10:16 a.m.
On Thu, 22 Dec 2005 09:28:15 -0000, Frank Laub <frank.laub@gmail.com> 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)