[Bug c++/80950] GCC about template bug

2017-06-02 Thread kmp53 at sina dot com
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.

[Bug c++/80950] GCC about template bug

2017-06-02 Thread redi at gcc dot gnu.org
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

[Bug c++/80950] GCC about template bug

2017-06-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80950 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---