Does c++ support functions on the fly? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does c++ support functions on the fly?

I am not able to understand the syntax of the Custom comparator used inside the sort function. Is their any resource for this syntax? From where can one learn advance c++? https://code.sololearn.com/ctX04V4g36bz/?ref=app

4th Jul 2021, 6:36 AM
MahirShah
1 Answer
+ 3
It's lambda expression, read more about it here 👇 https://en.cppreference.com/w/cpp/language/lambda
4th Jul 2021, 7:11 AM
Ipang