title: Call method inside lambda expression
body: <p>I want to call a method of my class inside a lambda expression:</p>
  
  <pre><code>void my_class::my_method(my_obj&amp; obj)
  {
  }
  
  
  void my_class::test_lambda()
  { 
     std::list&lt;my_obj&gt; my_list;
  
     std::for_each(my_list.begin(), my_list.end(), [](my_obj&amp; obj)
     {
        // Here I want to call my_method:
        // my_method(obj);
     });
  }
  </code></pre>
  
  <p>How can I do?</p>