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