lambda operator in c++

C++
[ capture clause ] (parameters) -> return-type  
{   
   definition of method   
} 
Source

Also in C++: