Re: [PATCH v2] c++: P2360R0: Extend init-stmt to allow alias-decl [PR102617]

2021-10-26 Thread Jason Merrill via Gcc-patches
On 10/21/21 18:27, Marek Polacek wrote: On Thu, Oct 21, 2021 at 04:56:57PM -0400, Jason Merrill wrote: On 10/21/21 16:26, Marek Polacek wrote: The following patch implements C++23 P2360R0. This proposal merely extends init-statement to contain alias-declaration. init-statement is used in if/f

[PATCH v2] c++: P2360R0: Extend init-stmt to allow alias-decl [PR102617]

2021-10-21 Thread Marek Polacek via Gcc-patches
On Thu, Oct 21, 2021 at 04:56:57PM -0400, Jason Merrill wrote: > On 10/21/21 16:26, Marek Polacek wrote: > > The following patch implements C++23 P2360R0. This proposal merely > > extends init-statement to contain alias-declaration. init-statement > > is used in if/for/switch. The unsightly dupl