mpq_class documentation is not explicit about canonicalization

Torbjorn Granlund tg at
Mon Feb 15 11:26:11 CET 2010

Marc Glisse <marc.glisse at> writes:

  On Tue, 9 Feb 2010, Marc Glisse wrote:
  > On Mon, 8 Feb 2010, gsauthof at wrote:
  >> PS: Btw, prefixing the constructor name with 'void' gives the wrong
  >> impression that this is valid C++ syntax and/or that constuctors may
  >> have return values ...
  > Indeed.
  texinfo seems happy with:
  @defun mpz_class::mpz_class (type @var{n})
  instead of:
  @deftypefun void mpz_class::mpz_class (type @var{n})
Not really happy, I would say.  The typography gets messed up, at least
when there is an & in the arguments list.

My suggested change it attached.  Does it look as you expect?  Do the
C++ people see other places that need fixing?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo
Type: application/octet-stream
Size: 5932 bytes
Desc: not available
URL: <>
-------------- next part --------------


More information about the gmp-bugs mailing list