书籍 C++17 - The Complete Guide的封面

C++17 - The Complete Guide

[德] Nicolai M·Josuttis

出版社

NicoJosuttis

出版时间

2019-08-20

ISBN

9783967300178

评分

★★★★★
书籍介绍
All the new language and library features of C++17 (for those who know the previous versions of C++). C++17 is the next evolution in modern C++ programming, now supported by major c++ compilers g++, clang, and Visual C++. Although adopting C++17 it is not as big a step as adopting C++11, C++17 does contain a large number of valuable language and library features, which support and change the way we program in C++. As usual, not everything is self-explanatory, combining new features gives you even more power, and there are hidden traps.The book covers the motivation for and context of all new C++17 features (covering both language and library) with many examples and unique background information for application programmers as well as library developers. The focus is on how these features impact day-to-day programming, what effect combining features can have, and how you can benefit from them in practice. "It's very clearly written, and the examples are really helpful!" (Graham Markall) "I am thoroughly enjoying the book; I had skimmed the list of changes in C++17 several times before but until I started reading this book, I had no idea how substantial the changes really were. It makes me wonder what I overlooked with previous updates!" (Jason Birch) "I thought I knew a bit about C++. I downloaded this book and learned something new in the preface. Highly recommended so far!" (Tristan Brindle)
用户评论
需要花时间学习的就string view,不妨知道的strutural binding(限制好多啊)/if initialization/static inline/capture as const ref(很不错)/[[maybe_unused]]/optional(为啥现在才有)/variant/any/any_cast(看着挺fancy的就是对union void*的typesafe版本)/filesystem/scoped_lock(终于不用比较地址了)/shared_mutex(终于有了。。);template还是直接读C++ templates吧;其他用到再说吧,不知道也算了。。期待Meyers再写本书吧
大佬,受小弟一拜,真的nb,您就是我template的引路人
C++17最推荐此书,排版舒服,内容完善,有深有浅,只有300多页,可藉此快速构建起C++17的知识架构。 基本常用的特性本书中都有谈及,例如struct binding, attribute features, fold expressions, compile-time if, string_view, filesystem, pmr......。 不过此书的层次只能算中高级,达不到深入,有些特性的用法仅是介绍个基础。若想深入,须得自己研究源码。
Z-Library