[PPL-devel] Re: C++ interface and mpz_addmul

Ballabio Gerardo - Dip. di Scienza dei Materiali gerardo.ballabio at unimib.it
Sat Jun 29 09:17:56 CEST 2002


On 2002.06.28 23:57 Kevin Ryde wrote:
> Roberto Bagnara <bagnara at cs.unipr.it> writes:
> >
> > it seems that C++ statements of the form
> >
> >      a += b*c
> >
> > for a, b and c of type mpz_class, are not translated
> > by the C++ interface into an invocation of mpz_addmul.

They aren't, indeed. Never thought about that.

> I wonder if the templating can cope with two operators like that.

I guess yes, but I must think about it a little more. I'll try to do 
it in a few days.

Gerardo



More information about the PPL-devel mailing list