mardi 22 mai 2018

Is a lambda without capture list usually implemented as ordinary function?

As far as I know, lambda without capture list could be converted to a function pointer, which seems like it's just a ordinary function. What's more, I could not find anything special when compared the lambda without capture list with ordinary function.

At the same time, I think there is no necessity to not implement lambda without capture list as ordinary function.

Aucun commentaire:

Enregistrer un commentaire