Re: [PATCH v23 03/33] c++: Accept the use of built-in trait identifiers

2023-10-23 Thread Ken Matsui
On Mon, Oct 23, 2023 at 1:36 PM Jason Merrill wrote: > > On 10/20/23 09:53, Ken Matsui wrote: > > This patch accepts the use of built-in trait identifiers when they are > > actually not used as traits. Specifically, we check if the subsequent token > > is '(' for ordinary built-in traits or is '<

Re: [PATCH v23 03/33] c++: Accept the use of built-in trait identifiers

2023-10-23 Thread Jason Merrill
On 10/20/23 09:53, Ken Matsui wrote: This patch accepts the use of built-in trait identifiers when they are actually not used as traits. Specifically, we check if the subsequent token is '(' for ordinary built-in traits or is '<' only for the special __type_pack_element built-in trait. If those

[PATCH v23 03/33] c++: Accept the use of built-in trait identifiers

2023-10-20 Thread Ken Matsui
This patch accepts the use of built-in trait identifiers when they are actually not used as traits. Specifically, we check if the subsequent token is '(' for ordinary built-in traits or is '<' only for the special __type_pack_element built-in trait. If those identifiers are used differently, the