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
1 Odpowiedź
+ 3
It's lambda expression, read more about it here 👇
https://en.cppreference.com/w/cpp/language/lambda