C++17 in Detail
This book is 90% complete
Last updated on 2018-08-10
About the Book
C++11 was a major update for the language. With all the modern features like lambdas, constexpr, variadic templates, threading, range based for loops, smart pointers and many more powerful elements, it was enormous progress for the language. Even now, in 2018, lots of teams struggle to modernise their projects to leverage all the modern features. Later there was a minor update - C++14, which improved some things from the previous standard and added a few smaller elements. With C++17 we got a lot of mixed emotions.
On one hand C++17 is not as big as C++11. On the other hand, it's much larger than C++14. Everyone expected modules, co-routines, concepts and other powerful features, but it wasn't possible to prepare everything on time.
Is C++17 weak?
Far from it! And this book will show you why!
The book brings you exclusive content about C++17 and draws from the experience of many articles that have appeared on bfilipek.com. The chapters were rewritten from the ground-up and updated with the latest information. All of that equipped with lots of new examples and practical tips. Additionally, the book provides insight into the current implementation status, compiler support, performance issues and other relevant knowledge to boost your current projects.
If you know a bit of C++11/14 and you want to move forward into the latest C++ techniques, then this book is for you.
Buy early and get free updates later!
Here are the features you'll learn:
Part One: C++17 Language features
- Fixes and deprecation
- Language clarification
- General language features
Part Two: C++17 The Standard Library
- String operations
- Parallel STL
- Other Changes
Part Three: More Examples and Use Cases
- Refactoring with std::optional
- Using if constexpr
- and more planned
As of now, the book contains over 200 pages. I plan to rewrite a few more chapters and add some new pieces - especially with larger examples. The final version should have around 250 pages.
Plans for the final version:
- Add chapter about string operations
- Update chapter about Parallel STL
- Update and rewrite chapter about filesystem
- Add more examples to the third part
- More polishing across the whole book
The book should be 100% ready in a few months, Autumn 2018.
I optimized this book for a PDF reading experience, but other ebook formats should also look good. If you have any issues with the copies, let me know and I'll try to update the formatting.
Primary Technical Reviewer
Jacek Galowicz is a Software Engineer with roughly a decade of professional experience in C++. He got his master of science degree in electrical engineering at RWTH Aachen University in Germany.
Jacek co-founded the Cyberus Technology GmbH in early 2017 and works on products around low-level cybersecurity, virtualization, microkernels, and advanced testing infrastructure. At former jobs, he implemented performance- and security-sensitive microkernel operating systems for Intel x86 virtualization at Intel and FireEye in Germany. In general, he gained experience with kernel driver development, 3D graphics programming, databases, network communication, physics simulation, mostly in C or C++.
In his free time, Jacek maintains a little C++ blog, which has seen some lack of love while he wrote the C++17 STL Cookbook. He is a regular visitor of the C++ Usergroups in Hannover and Braunschweig. In order to do meta programming and generic programming better, he also learned and uses Haskell, which in turn sparked his interest to generally bring the advantages of purely functional programming to C++.
Jonathan Boccara (fluentcpp.com)
C++17 in Detail is the ideal guide for C++ programmers who want to leverage on C++17 to write better code. The book shows the new features of the language under a practical angle, with copious details and code examples while still being accessible and easy to read. Bartlomiej Filipek's work is my go-to reference for C++17 features, and C++17 in Detail captures it all in one book.
Arne Mertz (arne-mertz.de)
With a new C++ standard delivering more features to an already complex language every 3 years, it is hard to keep track and easy to get lost. With his articles and this book, Bartek provides the much needed comprehensive view on not only what has changed, but also why it has changed and how we can use it to make our code more expressive. There's nothing left to wish for except that he can keep up with the committee and deliver a C++20 version in three years ;-)
Victor Ciura ( @ciura_victor )
C++17 in Detail is a whirlwind tour of the new and exciting features of the new C++17 ISO standard. Incubated from Bartek's excellent series of articles, his book properly organizes the topics and really goes into details when needed. Whether you're coming to modern C++ just now or you are a seasoned C++ developer and want to learn all the nitty-gritty of the new standard features, you'll find in this book amazing examples (minimalistic, yet practical) and explanations to help you along the way.
Karol Gasiński (@karolgasinski)
It's a very comprehensive guide into the C++17 standard. Detailed but allows easy navigation between described features. Definitely, a good place to start for anybody who wants to catch up with latest C++.
Marco Arena (marcoarena.com)
Bartlomiej Filipek has shaped C++17 in Detail by turning his strong blogging experience into a fundamental book for C++ developers who want to quickly get up and running with C++17 features with a practical approach. The book has a lively style, it clearly integrates feedback and pearls that Bartlomiej has gathered in the last years and it consists in an effective balance among theoretical concepts, references to the standard and official papers, and real examples.
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...