How can I disable implicit lambda variable capture?
For example if I have a lambda that's doing being called on each entry in an array and I don't want to capture any variables, how can I disable the implicit capture? I prefer using explicit capture lists because it means I'm only grabbing what I think I'm grabbing.
Aucun commentaire:
Enregistrer un commentaire