https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80950
--- Comment #3 from 陈林熙 ---
You're right. ISO IEC 14882 explicitly illustrates this.
In GCC5.3, you can write a global function:
template int (get) {}
Cheat the compiler.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80950
--- Comment #2 from Jonathan Wakely ---
See https://womble.decadent.org.uk/c++/template-faq.html#disambiguation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80950
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---