[C++ PATCH] Fix unexpanded pack error with auto-deduced functions (PR c++/68396)

Jason Merrill jason@redhat.com
Thu Nov 19 18:25:00 GMT 2015

On 11/19/2015 09:35 AM, Ryan Burn wrote:
> This fixes an issue where the return type of an auto-deduced function gets
> classified as a parameter pack if it's called in a decltype expression
> inside of a type expansion.

Thanks!  Do you have a copyright assignment on file with the FSF?  This 
patch is small enough not to need one, but it would be good to get it in 
place for future contributions.

I moved the testcase to cpp1y since it's valid C++14 code.


More information about the Gcc-patches mailing list