C++ Lambdas Part 2 - ‘The capture’ | Modern cpp series Ep. 102
Автор: Mike Shah
Загружено: 2022-11-24
Просмотров: 7566
►Full C++ Series Playlist: • The C++ Programming Language
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel: / @mikeshah
►Lesson Description: In this lesson we continue our journey talking about lambda's this time focusing on the 'capture'. We can capture by reference and by value when using lambdas. Note that when capturing by value, by default variables are 'const' and we need to use 'mutable' if we want to change those objects. I'll also show you at the end a little bit more on the actual implementation of lambda's using cppinsights for those who are interested.
►YouTube Channel: / mikeshah
►Please like and subscribe to help the channel!
►Join our free community: https://courses.mshah.io/communities/...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: