- Joined
- Jun 11, 2022
- Messages
- 215,105
- Reaction score
- 1
- Points
- 38
English | 2021 | ASIN : B08F2LT8YG | 157 Pages | PDF, EPUB | 1.7 MB
This book guides you through the evolution of C Lambda Expressions so that you can learn it step by step.
We'll start with C03 and a motivation to have "ad-hoc" functors, and then we'll move into the latest C standards
C11 - 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.
C14 - updates. See how to use generic lambdas and captures with an initialiser.
C17 - more improvements, especially by handling `this` pointer and allowing `constexpr`. You'll also learn about the overloaded pattern and how to derive from lambda.
C20 - in this section you'll see all of the new features adopted for C20 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 cppstories.com
Lambdas: From C11 to C20, Part 1
Lambdas: From C11 to C20, Part 2
The articles also are based on a live coding presentation given by C Expert Tomasz Kaminski at our local Cracow C User Group.
Readers Feedback & Reviews
Below, you can find the GoodReads page for the book with the readers' feedback
C Lambda Story @GoodReads
And a review at Adam Sawicki Blog
Book Review: C Lambda Story
FAQ
I'm a bner 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 bner nor an expert...
Perfect! So the book will show you lots of examples that will expand your knowledge and also rd 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 buy 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 lots of free content about lambdas, so why buy the book
Sure! Even on , 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 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.
DOWNLOAD
Code:
https://1dl.net/jf2mr2czokyv/n9fAxJgK__C___Lambda.rar.html
Feel free to post your C++ Lambda Story : Everything you need to know about Lambda Expressions in Modern C++! (2021) Free Download, torrent, subtitles, free download, quality, NFO, Dangerous C++ Lambda Story : Everything you need to know about Lambda Expressions in Modern C++! (2021) Torrent Download, free premium downloads movie, game, mp3 download, crack, serial, keygen.