C++ PATCH for c++/54764, 55972 (lambda in class but non-function context)
Sun Mar 17 01:48:00 GMT 2013
Previously when we encountered a lambda in a class but outside a
function we treated it as being in the enclosing namespace scope, which
led to access errors in 55972. Fixing that meant properly giving it the
class scope, which meant marking it as a lambda type sooner, which made
it straightforward to fix 54764 as well.
Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5449 bytes
Desc: not available
More information about the Gcc-patches