[PPL-devel] ppl/src GMP_Integer.defs.hh GMP_Integer.inlines.hh
Roberto Bagnara
roberto at cs.unipr.it
Fri Nov 18 22:22:55 CET 2005
CVSROOT: /cvs/ppl
Module name: ppl
Changes by: roberto at cs.unipr.it 2005-11-18 22:22:55
Modified files:
src : GMP_Integer.defs.hh GMP_Integer.inlines.hh
Log message:
Defined overloaded raw_value() functions that are the identity functions
on mpq_class& and const mpq_class&, respectively. This avoids surprises
when raw_value() is applied to an mpq_class object. The problem is caused
by the C++ interface of GMP, which defines an implicit constructor for
mpz_class from an object of type mpq_class.
Patches:
http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/src/GMP_Integer.defs.hh.diff?cvsroot=ppl&r1=1.11&r2=1.12
http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/src/GMP_Integer.inlines.hh.diff?cvsroot=ppl&r1=1.6&r2=1.7
More information about the PPL-devel
mailing list