C++ - The Complete Guide: Additional Errata of CppCon Edition |
This is the additional errata of the special CppCon
edition of the book C++17
- The Complete Guide by Nicolai
M. Josuttis.
It covers all errors that were only found in that edition.
Please, also look at the basic errata of the first edition, which covers all isuues of both the 1st and the CppCon edition.
The
errata is organized in the following way:
- The first part lists technical errors
- The second part lists typos
Usually the latest electronic version covers all issues of this errata.
Page 81, 9.1.2 Deducing the Type of Lambdas 2019-08-29
Add "If the counter for the calls is atomic, " before "You could also use parallel algorithms".
Page 9, 1.2.3, std::array:
Replace the 2nd to 4th usage of Page 183, 18.2.2, I/O with std::byte:
The binary output of value 42 is 00101010.
Page 321, 27.1.1, std::scoped_lock,
last paragraph: s/ that adopt locks mutexes / that adopt the locked
mutexes /
Page 324, 27.3 Cache-Line Sizes,
first paragraph: s/ the same amount of memory has to be synchronized /
the memory of the cache line has to be synchronized /
Page 376, 30.2.2 Implementing
Type-Specific operator new(): s/ If the default alignment is 32 (or less
and the code compiles), / If the default alignment is 32 (or more and
the code compiles), /
Page 408, 34.5, Afternotes: s/
by by / by / (twice)
Page 434, 36.4.2, Concrete Derived
Classes: s/ move()
and delete() / move()
and draw() /
a += 10
by
e += 10
i += 10
m += 10