[Bug c++/100396] [11.1 regression] The template function overload is not selected correctly

2021-05-04 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100396 --- Comment #4 from vopl at bk dot ru --- I understand what you're saying. But, apparently, there is still corruption in the calculus of the substituted Args, please look at this code (thanks to johny5):

[Bug c++/100396] [11.1 regression] The template function overload is not selected correctly

2021-05-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100396 --- Comment #3 from Patrick Palka --- (In reply to vopl from comment #2) > Please, try this, also failed > > /0/1/2/3/4/5/6/// > //7 > template struct Checker > { > using Some =

[Bug c++/100396] [11.1 regression] The template function overload is not selected correctly

2021-05-03 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100396 --- Comment #2 from vopl at bk dot ru --- Please, try this, also failed /0/1/2/3/4/5/6/7 template struct Checker { using Some = decltype(F{}(Args{}...)); }; template concept

[Bug c++/100396] [11.1 regression] The template function overload is not selected correctly

2021-05-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100396 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---