Please recommend me an advanced level C++ book

Jul 4, 2017 at 1:14pm
I am currently reading "C++ for concurrency".
Now I am looking for next one. I want a book can focus on updates on C++11, C++14 and some advanced topic like data structure alignment.

Is "efficient C++" a good book?

Thanks,
L

Jul 4, 2017 at 2:29pm
Nicolai Josuttis' book, The C++ Standard Library, provides a reasonable explanation of the threading facilities in the language.
http://www.cppstdlib.com/

However, concurrency principles in general is another matter.
Last edited on Jul 4, 2017 at 2:29pm
Jul 10, 2017 at 3:41am
Thank you. It seems this book only covered up to C++ 11. Do you know any book can cover C++14?
Jul 10, 2017 at 3:45am
What about "Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14 1st Edition"?
Jul 10, 2017 at 5:31am
The differences between C++11 and C++14 and C++17 are relatively minor. Off the top of my head, C++14 adds mainly the following:
- Better return-type deduction
- The global operator delete now accept a size argument
- The restrictions on constexpr functions are fixed relaxed (now they can have multiple statements).
- Generic (template) lambdas added
- Generalized lambda capture added (can now e.g., move objects into closures)
- Template variables added
- decltype(auto) was added with the expected meaning

Re. C++17, the most compelling core language developments (Concepts and Ranges) remain as technical specifications for now. There are additional libraries in the works: <variant>, <any>, <optional>, <filesystem>. See
https://isocpp.org/std/status

...data structure alignment

Read Ulrich Drepper's famous paper:
https://people.freebsd.org/~lstewart/articles/cpumemory.pdf
Last edited on Jul 10, 2017 at 5:32am
Jul 11, 2017 at 8:47am
OP: as you delve deeper into CPP, as the nature of your query suggests you have, you'll find that textbooks find it difficult to keep up their production cycle is much longer than the covered programming language's evolution. After you've mastered a couple of texts like Josuttis, the best way to keep yourself up-to-date would be to go to the source materials, websites themselves for the latest stuff
Topic archived. No new replies allowed.