[Bug c++/92551] accepts invalid code in function template

2019-11-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92551 Marek Polacek changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug c++/92551] accepts invalid code in function template

2019-11-18 Thread Darrell.Wright at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92551 --- Comment #3 from Darrell Wright --- I think this can be closed and sorry for wasting time. It was explained how this is ok to me https://bugs.llvm.org/show_bug.cgi?id=44034#c2

[Bug c++/92551] accepts invalid code in function template

2019-11-18 Thread Darrell.Wright at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92551 --- Comment #2 from Darrell Wright --- The Args... is in a non deduced context because it isn't at the end. http://eel.is/c++draft/temp.deduct#type-5.7 With that, I think only trailing packs can be defaulted to empty http://eel.is/c++draft/temp.

[Bug c++/92551] accepts invalid code in function template

2019-11-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92551 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|