MENU

Fun & Interesting

The C++ Lambdas

Code for yourself 6,765 lượt xem 5 months ago
Video Not Working? Fix It Now

*Help me keep doing these videos!*
This works relies on *your* support! You can show it in one of these ways:
📚 Start a FREE Audible trial: https://www.audibletrial.com/CodeForYourself
🛍️ Buy gear I use to make this video: https://github.com/cpp-for-yourself/sponsor/blob/main/amazon.md
💶 Directly become a sponsor on GitHub: https://github.com/sponsors/niosus
📺 Watch my videos *to the end* and leave comments
⁉️ Find *your* way to support this work here: https://github.com/cpp-for-yourself/sponsor/tree/main

Lambdas are just a thing without which it is impossible to imagine the modern C++ of today. Here we talk about what they are, what we can use them for and touch a bit upon how they function under the hood.

📚 Link to the script to this video on GitHub: https://github.com/cpp-for-yourself/supplementary-materials/blob/main/lectures/lambdas.md

🔗 *Links*
⏺ Lambdas: https://en.cppreference.com/w/cpp/language/lambda
⏺ std::sort: https://en.cppreference.com/w/cpp/algorithm/sort
⏺ Function to pointer conversion: https://en.cppreference.com/w/cpp/language/implicit_conversion#Function-to-pointer_conversion
⏺ Function objects: https://en.cppreference.com/w/cpp/utility/functional
⏺ std::find_if: https://en.cppreference.com/w/cpp/algorithm/find#Version_3
⏺ std::for_each: https://en.cppreference.com/w/cpp/algorithm/for_each
⏺ std::transform: https://en.cppreference.com/w/cpp/algorithm/transform

#cplusplus #programming #coding #tutorial

Comment