C++ PATCH for c++/55680 (wrong error for lambda initializing data member specialization)

Jason Merrill jason@redhat.com
Thu Feb 14 13:55:00 GMT 2013

When we have a lambda-expression in the initializer for a specialization 
of a class template static data member, we end up in 
maybe_process_partial_specialization, which sees that 
processing_specialization is set and concludes that we're trying to 
specialize the lambda.  But we aren't.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 55680.patch
Type: text/x-patch
Size: 1222 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130214/5972d912/attachment.bin>

More information about the Gcc-patches mailing list