Re: [committed] c++: Fix constexpr if and braced functional cast.

2020-02-15 Thread Jason Merrill
On 2/13/20 12:42 AM, Jason Merrill wrote: While partially instantiating a generic lambda, we can encounter pack expansions or constexpr if where we can't actually do the substitution immediately, and instead remember a partial instantiation context in *_EXTRA_ARGS. This includes any local_specia

[committed] c++: Fix constexpr if and braced functional cast.

2020-02-12 Thread Jason Merrill
While partially instantiating a generic lambda, we can encounter pack expansions or constexpr if where we can't actually do the substitution immediately, and instead remember a partial instantiation context in *_EXTRA_ARGS. This includes any local_specializations used in the pattern or condition.