<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 13, 2014 at 8:07 PM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><br><div class="gmail_quote">On Mon, Oct 13, 2014 at 8:07 PM, Xinliang David Li <span dir="ltr"><<a href="mailto:xinliangli@gmail.com" target="_blank">xinliangli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For lambdas, you have more contexts to confuse yourself, so why would a discriminator like '_' not be helpful here?</blockquote></div><br></span>Because you cannot attach such a discriminator to the members of the lambda struct. Their names are automatically selected based on capture.</div></div></blockquote><div><br></div><div>members of lambda struct? Is this a developer's view or a C++ user's view ?</div><div><br></div><div>For member variable access in lamdas, it is 'this' that is captured. If I see reference of 'x_', I will know it is actually 'this-x_' even in lamdas. Am I missing something?</div><div><br></div><div>David</div><div><br></div></div><br></div></div>