[PATCH] Fix PR20619 - failure to define implicit copy ctor of a by val capture in a generic lambda

Faisal Vali faisalv at gmail.com
Thu Jan 15 04:40:28 PST 2015

In http://reviews.llvm.org/D6171#108287, @rsmith wrote:

> On reflection, can we delay building the initialization expressions for captures until we get to the end of the lambda expression? There seems to be no need to build them early, and delaying would solve the wrong-context problem implicitly.

very nice - I think this might be the cleanest solution if it works - will explore this avenue soon ...



More information about the cfe-commits mailing list