Hacker News new | comments | show | ask | jobs | submit login

I found the Bandit examples rather disorienting. Can anyone explain what the "[&](){" business means?



That's the syntax for describing a lambda function.

CPP reference has a nice overview of it: http://en.cppreference.com/w/cpp/language/lambda




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: