[Bug c++/91082] Reference to function binds to pointer to function when given a template specialization

2022-02-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91082 --- Comment #1 from Andrew Pinski --- clang rejects it with: :8:5: error: non-const lvalue reference to type 'void ()' cannot bind to a temporary of type '' static_cast(); ^ ICC rejects it with: (8): error:

[Bug c++/91082] Reference to function binds to pointer to function when given a template specialization

2019-07-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91082 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|