Bug#794666: c++-annotations-pdf: a mistake in this example

2015-08-05 Thread Usama Makhzoum
Package: c++-annotations-pdf
Version: 9.9.1-2
Severity: important
Tags: newcomer

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

in cplusplus.pdf, page 80 (actually it the 102th page, you know!), the second
example of stoi function
it is:

   value = stoi(string( 123, 0, 5)); // assigns value 38

   * What outcome did you expect instead?
it is :
 value = stoi(string( 123), 0, 5); // assigns value

thanks



-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

c++-annotations-pdf depends on no packages.

c++-annotations-pdf recommends no packages.

Versions of packages c++-annotations-pdf suggests:
pn  bisonc++  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#794666: c++-annotations-pdf: a mistake in this example

2015-08-05 Thread Frank B. Brokken
Dear Usama Makhzoum, you wrote:
 
 Package: c++-annotations-pdf
 Version: 9.9.1-2
 Severity: important
 Tags: newcomer
 
 Dear Maintainer,
 
 *** Reporter, please consider answering these questions, where appropriate ***
 
 in cplusplus.pdf, page 80 (actually it the 102th page, you know!), the second
 example of stoi function
 it is:
 
value = stoi(string( 123, 0, 5)); // assigns value 38
 
* What outcome did you expect instead?
 it is :
  value = stoi(string( 123), 0, 5); // assigns value

Thanks for the bug report: you're right: it's a typo. It'll be fixed in the
next release.  BTW: if you encounter more typos like these, don't hesitate to
send me an e-mail. Submitting such typos as Debian bug-reports is a bit heavy,
I think. But thanks anyway :-)

-- 
Frank B. Brokken
Center for Information Technology, University of Groningen
(+31) 50 363 9281 
Public PGP key: http://pgp.surfnet.nl
Key Fingerprint: DF32 13DE B156 7732 E65E  3B4D 7DB2 A8BE EAE4 D8AA


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org