You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And now `std::sort` sorts our Tolkien characters by age in ascending order.
205
205
```
206
206
> Before sorting:
207
-
Gendalf55000
207
+
Gandalf55000
208
208
Frodo 33
209
209
Legolas 2931
210
210
Gimli 139
211
211
> Sorted by age ascending:
212
212
Frodo 33
213
213
Gimli 139
214
214
Legolas 2931
215
-
Gendalf55000
215
+
Gandalf55000
216
216
```
217
217
218
218
So let's talk about what lambdas are, how to write them in such a way that they operate safely and efficiently and, yes, how they make **this** a valid piece of C++ code :wink:
0 commit comments