mpq_class documentation is not explicit about canonicalization

Marc Glisse marc.glisse at inria.fr
Fri Feb 12 16:12:11 CET 2010


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})


That is, unless we want to move most of the C++ documentation to use 
@defmethod and @deftypemethod, but then it is a matter of taste.

-- 
Marc Glisse


More information about the gmp-bugs mailing list