Re: [PATCH v3] c++: Hash placeholder constraint in ctp_hasher

2024-07-18 Thread Jason Merrill
On 7/18/24 11:01 AM, Seyed Sajad Kahani wrote: This patch addresses a difference between the hash function and the equality function for canonical types of template parameters (ctp_hasher). The equality function uses comptypes (typeck.cc) (with COMPARE_STRUCTURAL) and checks constraint equality f

[PATCH v3] c++: Hash placeholder constraint in ctp_hasher

2024-07-18 Thread Seyed Sajad Kahani
This patch addresses a difference between the hash function and the equality function for canonical types of template parameters (ctp_hasher). The equality function uses comptypes (typeck.cc) (with COMPARE_STRUCTURAL) and checks constraint equality for two auto nodes (typeck.cc:1586), while the has