On 8/7/12, Richard Henderson <[email protected]> wrote: > On 08/06/2012 05:35 PM, Lawrence Crowl wrote: > > +inline double_int & > > +double_int::operator ++ () > > +{ > > + *this + double_int_one; > > + return *this; > > +} > > + > > +inline double_int & > > +double_int::operator -- () > > +{ > > + *this - double_int_one; > > + return *this; > > +} > > Surely unused results there?
Typically yes, but that is the interface for that operator. -- Lawrence Crowl
