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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]