DEV Community

Discussion on: Modern C++ Features

Collapse
 
dynamicsquid profile image
DynamicSquid

Just to clarify, [=] for lambdas captures by const-ref? Is that why we need the mutable keyword?