Re: [PATCH] c++: constrained variable template issues [PR98486]

2021-09-16 Thread Jason Merrill via Gcc-patches
On 9/16/21 12:44, Patrick Palka wrote: On Thu, 16 Sep 2021, Jason Merrill wrote: On 9/16/21 09:11, Patrick Palka wrote: This fixes some issues with constrained variable templates: * Constraints aren't checked when explicitly specializing a variable template * Constraints aren't

Re: [PATCH] c++: constrained variable template issues [PR98486]

2021-09-16 Thread Patrick Palka via Gcc-patches
On Thu, 16 Sep 2021, Jason Merrill wrote: > On 9/16/21 09:11, Patrick Palka wrote: > > This fixes some issues with constrained variable templates: > > > >* Constraints aren't checked when explicitly specializing a variable > > template > >* Constraints aren't attached to a static dat

Re: [PATCH] c++: constrained variable template issues [PR98486]

2021-09-16 Thread Jason Merrill via Gcc-patches
On 9/16/21 09:11, Patrick Palka wrote: This fixes some issues with constrained variable templates: * Constraints aren't checked when explicitly specializing a variable template * Constraints aren't attached to a static data member template at parse time * Constraints aren't pr

[PATCH] c++: constrained variable template issues [PR98486]

2021-09-16 Thread Patrick Palka via Gcc-patches
This fixes some issues with constrained variable templates: * Constraints aren't checked when explicitly specializing a variable template * Constraints aren't attached to a static data member template at parse time * Constraints aren't propagated when (partially) instantiating a