On Sun, Aug 12, 2012 at 11:30:59PM +0200, Marc Glisse wrote: > >+inline double_int & > >+double_int::operator ++ () > >+{ > >+ *this + double_int_one; > > *this += double_int_one; > would be less confusing.
Do you mean that *this + double_int_one; alone also works, just is confusing? That would mean operator+ has side-effects, right? Jakub