title: How to capture "this" in a lambda function in lambda?
body: <p>For example</p>
  
  <pre><code>class A
  {
      void f() {}
      void g()
      {
          [this]() // Lambda capture this
          {
              f();
              A* p = this;
              [p]() // Workaround to let inner lambda capture this
              {
                  p-&gt;f();
              };
          };
      }
  };
  </code></pre>
  
  <p>Any better way to capture this in the inner lambda?</p>