title: Why can't a data member be in a lambda capture list
body: <p>I have a class <code>foo</code> that has <code>bar</code> as a member variable.</p>
  
  <p>In another member function of the class, I'm writing a lambda function:</p>
  
  <pre><code>[bar](void){}
  </code></pre>
  
  <p>But I can't include <code>bar</code> in the capture list. Why is that?</p>