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.

Browse More Popular Posts

Leave a Comment