title: C++11 lambda function - how to pass parameter
body: <p>I used lambda function to pass it to <code>std::condition_variable</code> wait() function, but that is not the case. I use lambda functions that don't receive any parameters, and everything is absolutely clear for me. But I totally don't understand how is used lamdba function that have parameters list. Show lambda with parameters are used? How to pass parameters to them?</p>