mpq_class documentation is not explicit about canonicalization

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


Marc Glisse <marc.glisse at inria.fr> writes:

  On Tue, 9 Feb 2010, Marc Glisse wrote:
  
  > On Mon, 8 Feb 2010, gsauthof at techfak.uni-bielefeld.de 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: <http://gmplib.org/list-archives/gmp-bugs/attachments/20100215/f38488d4/attachment.obj>
-------------- next part --------------

-- 
Torbj?rn


More information about the gmp-bugs mailing list