DEV Community

Discussion on: Modern C++: Lambdas

Collapse
 
banzyme2 profile image
ENDEESA

[=, &total] please explain what the = does on this line?

Collapse
 
delta456 profile image
Swastik Baranwal

It passes all objects by value.