MENU

Fun & Interesting

C++ Lambdas Part 1 - Unnamed function objects (closures) in C++ | Modern Cpp Series Ep. 100!!!

Mike Shah 11,914 2 years ago
Video Not Working? Fix It Now

►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join ►Lesson Description: In this lesson you are going to get an introduction to lambda's -- a powerful tool for building more composable programs and taking advantage of other building blocks like the algorithm library in the STL. I'll also show you that lamabda's are 'unnamed function objects' (not just unnamed functions), and it is important to have that distinguishment so you understand the implementation, but also that lambda's can capture state -- just like function objects! ►YouTube Channel: https://www.youtube.com/c/MikeShah ►Please like and subscribe to help the channel! ►Join our free community: https://courses.mshah.io/communities/Q29tbXVuaXR5LTI3MzAz

Comment