mercredi 6 janvier 2021

How to implement wrapper for lambda with capture?

std::function can wrap lambdas with capture list but how std::function implemented? We don't know what is the type of it, it can be assigned to void* but then it is not possible to call lambda

Aucun commentaire:

Enregistrer un commentaire