ppl/src GMP_Integer.defs.hh GMP_Integer.inlines.hh

18 Nov
2005
18 Nov
'05
10:22 p.m.
CVSROOT: /cvs/ppl Module name: ppl Changes by: roberto@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?c... http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/src/GMP_Integer.inlines.hh.dif...
7275
Age (days ago)
7275
Last active (days ago)
0 comments
1 participants
participants (1)
-
Roberto Bagnara