
CoreCpp 2021
CppCast
00:00
The Lamda Trilling Return Type
The idea is that the trailing return type doesn't take into consideration the capture. So it uses the identifier before it is using the capture, so that there could be a mis match between what the body of the function understand about the capturing. The worst thingis that can happen that you might really compile and run. An strange thing might happen. You could do a mete tempat pogramming in the lamda itself. And then strange thing might happened.
Transcript
Play full episode