It means that everything outside lambda scope will be catch by reference. In that case, generator
and list
.
solved What does [&] in the declaration of [&](Type& variable) mean? [duplicate]
It means that everything outside lambda scope will be catch by reference. In that case, generator
and list
.
solved What does [&] in the declaration of [&](Type& variable) mean? [duplicate]