Is it a bad practice to always capture all in a lambda expression? [duplicate]
Performance The standard guarantees that if you do a default capture, the only variables that will be captured by that default capture from the surrounding environment are those that you actually use inside the lambda. As such, specifying individual variables to capture acts as documentation of what you expect to use, but should never affect … Read more