C++17 in Detail and Lambda Story
C++17 in Detail and Lambda Story
About the Bundle
Get all of my books much cheaper!
With this package, you'll learn the exciting things available in C++17 and also understand lambda expressions.
C++17 in Detail
Learn the Exciting Features of The New C++ Standard!
If you’ve ever asked “what’s in C++17 and what does it mean for me and my code?” — and I hope you have — then this book is for you.
Herb Sutter, herbsutter.com
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.
Although C++17 is not as big as C++11, it's 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!
I spent hundreds of hours investigating how the new things work in order to make a nice and practical book for you. The book will not only save your time but also will guide you through all the nuances of the language.
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 have experience with C++11/14 and you want to move forward into the latest C++ standard, then this book is for you.
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 Conversions
- String Matching & Searchers
- Parallel STL
- Other Changes
Part Three: More Examples and Use Cases
- Refactoring with std::optional
- Using if constexpr
- Using [[nodiscard]] attribute
- How to parallelise applications
"C++17 In Detail" appeared in the Visual C++ Team Blog as suggested books for learning C++17!
Have a look: Books on C++17
Review @CppDepend Blog https://cppdepend.com/blog/?p=1180
Review @A Sawicki Blog: http://asawicki.info/news_1715_book_review_c17_in_detail.html
There's also a book page at Goodreads: C++17 In Detail @Goodreads
- The book is also available in print at Amazon: C++17 in Detail Paperback
- And also as an interactive course at Educative: C++17 in Detail: A Deep Dive
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.
5 reader testimonials
C++ Lambda Story
Everything you need to know about Lambda Expressions in Modern C++!
This book guides you through the evolution of C++ Lambda Expressions so that you can learn it step by step. We'll start with C++03 and a motivation to have "ad-hoc" functors, and then we'll move into the latest C++ standards:
- C++11 - early days of the feature. You'll learn about all the essential aspects of lambdas and several tricks you might apply. This is the longest chapter as we need to cover a lot of topics.
- C++14 - updates. See how to use generic lambdas and captures with an initialiser.
- C++17 - more improvements, especially by handling `this` pointer and allowing `constexpr`. You'll also learn about the overloaded pattern and how to derive from lambda.
- C++20 - in this section you'll see all of the new features adopted for C++20 like template lambdas and how to use them with concepts and constexpr algorithms.
Additionally, throughout the chapters, you'll learn about the following techniques:
- Immediately Invoked Functional Expressions (IIFE)
- How to instrument a default functor to gather extra information
- Replacing std::bind1st, std::bind2nd and removed functional stuff
- The Overloaded Pattern and how to inherit from a lambda
- Passing C++ captureless lambda as a function pointer to C API
- LIFTING with lambdas
- Storing lambdas in a container
- Variadic templates and arguments packs
- Lambdas and asynchronous execution
- and many more
While the book is 100% ready, I might release some "hot-fixes" smaller releases. All existing readers get new updates for free.
The book is inspired by two articles that appeared at bfilipek.com:
The articles also are based on a live coding presentation given by C++ Expert Tomasz Kamiński at our local Cracow C++ User Group.
Below, you can find the GoodReads page for the book with the readers' feedback:
I'm a beginner in C++? Is that book for me?
The book assumes that you have a basic knowledge of C++. I suggest taking some elementary course first.
I'm an expert, and I know everything about C++? Is that book for me?
Yeah... you know all about C++? Is this possible? :)
Anyway, in your case, the book will give you a good refresher and even will show you some new tricks.
I'm not a beginner nor an expert...?
Perfect! So the book will show you lots of examples that will expand your knowledge and also remind you things that you may already know.
Additionally, throughout the book, you'll see other techniques and features related to modern C++ like, `constexpr`, exceptions, fold expressions, `std::thread`, perfect forwarding using callable objects and many more.
Is this a historical book with lots of boring descriptions?
The flow of the book focuses on the background behind lambda expression and its evolution. But it's meant to teach you practical things. You'll learn the lambdas step by step, understanding new capabilities that lambdas got with each C++ revision.
Will I get free updates?
Yes! While the book is 100% ready, I might add some more updates in the future, mainly bug fixes.
That's why it's best to by the book as early as possible; for example, the earliest version of the book was completely free.
The content looks like copied directly from the blog, so what's the point to buy it?
The very early version of the book was adapted directly from the blog... but then most of the content was rewritten and heavily updated. Now, you get at least 4x of what's available on the blog, not to mention the better quality and a nice looking pdf/ebook (there's no need to click and jump between separate blog articles).
On the Internet there's lot's of free content about lambdas, so why buy the book?
Sure! Even on my blog, you can find lots of articles about lambda expression. The C++ draft is also free, so you can read the specification on your own. Or have an additional explanation from great cppreference pages.
But the book will save you lots of your precious time looking for those quality content, extra examples, extended descriptions. What's more, by having a nice learning flow, you can understand this powerful C++ feature much faster at a super low price.
Is there a refund option?
Yes! if you buy the Book through Leanpub, then you have a 45-day guarantee. (Not applicable with Kindle direct Publishing though).
You can also download a preview with almost 60 pages.
Did I miss something?
If you have more questions, then please ask directly and write at bartlomiej DOT filipek AT bfilipek.com.
2 reader testimonials
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
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
C++ Best PracticesJason Turner
Level up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
Continuous Delivery PipelinesDave Farley
This practical handbook provides a step-by-step guide for you to get the best continuous delivery pipeline for your software.
OpenIntro StatisticsDavid Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntro
A complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
C++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
The book is almost daily updated. These incremental updates ease my interaction with the proofreaders.
Atomic KotlinBruce Eckel and Svetlana Isakova
For both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
Introductory Statistics with Randomization and SimulationMine Cetinkaya-Rundel, Christopher Barr, OpenIntro, and David Diez
A complete foundation for Statistics, also serving as a foundation for Data Science, that introduces inference using randomization and simulation while covering traditional methods.
Leanpub revenue supports OpenIntro, so we can provide free desk copies to teachers interested in using our books in the classroom.
More resources: openintro.org.
Ansible for DevOpsJeff Geerling
Ansible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server—or thousands.
Java OOP Done RightAlan Mellor
Object Oriented Programming is still a great way to create clean, maintainable code. But only if you use it right.
This book gives you 25 years of OO best practice, ready to use.
You'll learn to design objects behaviour-first, use TDD to help, then confidently apply Design Patterns, SOLID principles and Refactoring to make clean, crafted code.
Introducing EventStormingAlberto Brandolini
The deepest tutorial and explanation about EventStorming, straight from the inventor.
Discrete Mathematics for Computer ScienceAlexander Shen, Alexander S. Kulikov, Vladimir Podolskii, and Aleksandr Golovnev
This book supplements the DM for CS Specialization at Coursera and contains many interactive puzzles, autograded quizzes, and code snippets. They are intended to help you to discover important ideas in discrete mathematics on your own. By purchasing the book, you will get all updates of the book free of charge when they are released.
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before...
CCIE Service Provider Ultimate Study Bundle
2 BooksPiotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification...
Cisco CCNA 200-301 Complet
4 BooksCe lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301.
Modern C++ by Nicolai Josuttis
CCDE Practical Studies (All labs)
3 BooksCCDE lab
"The C++ Standard Library" and "Concurrency with Modern C++"
2 BooksGet my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle. The first book gives you the details you should know about the C++ standard library; the second one dives deeper into concurrency with modern C++. In sum, you get more than 600 pages full of modern C++ and about 250 source files presenting the standard library...
2 BooksDocker and Kubernetes are taking the world by storm! These books will get you up-to-speed fast! Docker Deep Dive is over 400 pages long, and covers all objectives on the Docker Certified Associate exam.The Kubernetes Book includes everything you need to get up and running with Kubernetes!
Modern Management Made Easy
3 BooksRead all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization.
The Future of Digital Health
6 BooksWe put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy and how technology giants such as Amazon or Google want to conquer...
Django for Beginners/APIs/Professionals